From 5c6e5cd47cb499268c32c0914f88d5b2295c4707 Mon Sep 17 00:00:00 2001 From: Geezus Date: Fri, 26 Apr 2019 15:04:58 -0500 Subject: [PATCH] Revert "Revert "push my_configs to custom repo"" This reverts commit 1143801d27f8e9b6554330880417fc9668a6ef07. --- .gitignore | 4 ++-- my_configs.vim | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 my_configs.vim diff --git a/.gitignore b/.gitignore index 55273366..b477f044 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/my_configs.vim b/my_configs.vim new file mode 100644 index 00000000..c4a15dcc --- /dev/null +++ b/my_configs.vim @@ -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 y "*y +noremap p "*p +noremap y "+y +noremap 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': ' ' } + \ }