1
0
Fork 0
mirror of synced 2024-11-04 16:38:59 -05:00

Revert "Revert "push my_configs to custom repo""

This reverts commit 1143801d27.
This commit is contained in:
Geezus 2019-04-26 15:04:58 -05:00
parent 1143801d27
commit 76745c89da
3 changed files with 59 additions and 2 deletions

4
.gitignore vendored
View file

@ -4,7 +4,7 @@ temp_dirs/yankring_history_v2.txt
sources_forked/yankring/doc/tags
sources_non_forked/tlib/doc/tags
sources_non_forked/ctrlp.vim/doc/tags*
my_plugins/
my_configs.vim
#my_plugins/
#my_configs.vim
tags
.DS_Store

4
.gitmodules vendored Normal file
View file

@ -0,0 +1,4 @@
[submodule "my_plugins/cheat.sh-vim"]
url = https://github.com/dbeniamine/cheat.sh-vim.git
[submodule "my_plugins/vizardry"]
url = https://github.com/dbeniamine/vizardry.git

53
my_configs.vim Normal file
View file

@ -0,0 +1,53 @@
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Cheat.sh
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:CheatDoNotReplaceKeywordPrg=1
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colorscheme
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Neovim
colorscheme gruvbox
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Vizardry
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:VizardryGitMethod="submodule add"
let g:VizardryGitBaseDir="~\.vim_runtime\my_plugins"
let g:VizardryCommitMsgs={'Invoke': "[Vizardry] Invoked vim submodule:",
\'Banish': "[Vizardry] Banished vim submodule:",
\'Vanish': "[Vizardry] Vanished vim submodule:",
\'Evolve': "[Vizardry] Evolved vim submodule:",
\}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Windows Clipboard
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
noremap <Leader>y "*y
noremap <Leader>p "*p
noremap <Leader>y "+y
noremap <Leader>p "+p
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => lightline
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:lightline = {
\ 'colorscheme': 'gruvbox',
\ 'active': {
\ 'left': [ ['mode', 'paste'],
\ ['fugitive', 'gitbranch', 'readonly', 'filename', 'modified'] ],
\ 'right': [ [ 'lineinfo' ], ['percent'] ]
\ },
\ 'component': {
\ 'readonly': '%{&filetype=="help"?"":&readonly?"🔒":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}',
\ 'fugitive': '%{exists("*fugitive#head")?fugitive#head():""}'
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))',
\ 'fugitive': '(exists("*fugitive#head") && ""!=fugitive#head())'
\ },
\ 'separator': { 'left': ' ', 'right': ' ' },
\ 'subseparator': { 'left': ' ', 'right': ' ' }
\ }