From 57f0bbc7c364b680a2b002e5ebfa379dd03c2dc1 Mon Sep 17 00:00:00 2001 From: Geezus Date: Fri, 26 Apr 2019 15:04:58 -0500 Subject: [PATCH] push my_configs to custom repo Allow my_configs and my_plugins to be pushed to my repo. --- .gitignore | 4 ++-- .gitmodules | 4 ++++ my_configs.vim | 53 +++++++++++++++++++++++++++++++++++++++++ my_plugins/cheat.sh-vim | 1 + my_plugins/vizardry | 1 + 5 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 100644 my_configs.vim create mode 160000 my_plugins/cheat.sh-vim create mode 160000 my_plugins/vizardry 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/.gitmodules b/.gitmodules new file mode 100644 index 00000000..8072bc94 --- /dev/null +++ b/.gitmodules @@ -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 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': ' ' } + \ } diff --git a/my_plugins/cheat.sh-vim b/my_plugins/cheat.sh-vim new file mode 160000 index 00000000..826219d1 --- /dev/null +++ b/my_plugins/cheat.sh-vim @@ -0,0 +1 @@ +Subproject commit 826219d16af492413e427fd666f3136f8e3fb0b0 diff --git a/my_plugins/vizardry b/my_plugins/vizardry new file mode 160000 index 00000000..99c830a0 --- /dev/null +++ b/my_plugins/vizardry @@ -0,0 +1 @@ +Subproject commit 99c830a06b6ac24459f20db4ec8ee4aeb1c04b33