Revert "Revert "push my_configs to custom repo""
This reverts commit 1143801d27
.
This commit is contained in:
parent
1143801d27
commit
76745c89da
3 changed files with 59 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -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
4
.gitmodules
vendored
Normal 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
53
my_configs.vim
Normal 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': ' ' }
|
||||
\ }
|
Loading…
Reference in a new issue