From f18ccbb0b4dbdeff65edc070508b94dec42ba756 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 26 Sep 2019 10:46:38 -0600 Subject: [PATCH] moved vundle file to be source controleld --- redirect | 10 +++--- vim/en.utf-8.add | 1 + vim/en.utf-8.add.spl | Bin 256 -> 265 bytes vim/rc.vim | 9 +++-- vim/vundle.vim | 76 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+), 10 deletions(-) create mode 100644 vim/vundle.vim diff --git a/redirect b/redirect index fec1164..824f64e 100755 --- a/redirect +++ b/redirect @@ -26,11 +26,11 @@ fi LOCAL_VIM_SETUP="$HOME/.my_vim_env" if [ ! -f "$LOCAL_VIM_SETUP" ]; then touch "$LOCAL_VIM_SETUP"; - echo 'let $RC_DIR="$HOME/.wryn"' >> $LOCAL_VIM_SETUP - echo 'let $VIM_DIR="$RC_DIR/vim"' >> $LOCAL_VIM_SETUP - echo 'let $WRYNVIMRC="$VIM_DIR/rc.vim"' >> $LOCAL_VIM_SETUP - echo 'let $WRYNBASH="$RC_DIR/bashrc"' >> $LOCAL_VIM_SETUP - echo 'let $MYBASHRC="$HOME/.bashrc"' >> $LOCAL_VIM_SETUP + echo 'let $RC_DIR=expand("$HOME/.wryn")' >> $LOCAL_VIM_SETUP + echo 'let $VIM_DIR=expand("$RC_DIR/vim")' >> $LOCAL_VIM_SETUP + echo 'let $WRYNVIMRC=expand("$VIM_DIR/rc.vim")' >> $LOCAL_VIM_SETUP + echo 'let $WRYNBASH=expand("$RC_DIR/bashrc")' >> $LOCAL_VIM_SETUP + echo 'let $MYBASHRC=expand("$HOME/.bashrc")' >> $LOCAL_VIM_SETUP else echo 'vim environment variables already set up' fi diff --git a/vim/en.utf-8.add b/vim/en.utf-8.add index 46cb936..f5135d4 100644 --- a/vim/en.utf-8.add +++ b/vim/en.utf-8.add @@ -13,3 +13,4 @@ Euthyphro Crito Rawls Schur +Wryn diff --git a/vim/en.utf-8.add.spl b/vim/en.utf-8.add.spl index 501eb3a91b40f447f4a4d67204fe76b2e927c04b..b9f77fcea765ce5d9210c11750d19c2202583fe2 100644 GIT binary patch delta 152 zcmZo*>SU4(^Ykq)NX^MH`p>|?aDpo-IW;Y#ps2W{e4>P=m3ls7DPsv^24f{-0gz;5 zV9+mOOa;Oe#x%x!#v;aY#zY_q6jx7SN~~lo2Eu$WcVe|Pqx!_@nlkFeOv#xLy(OiL d>5RER1(`toKs^&C-jNhmPlp(wS_!lt0swV}A!Yyo delta 143 zcmeBVYG9HG^Ykq)NX^MH`p>|?aF{bGIW;Y#ps2WHqNJvkT0UbbV+mshV +" <==== Insert plugins here =============================> +" command-t ( + Plugin 'git://git.wincent.com/command-t.git' +" tpope/surround + Plugin 'tpope/vim-surround' +" nerdtree + Plugin 'git://github.com/scrooloose/nerdtree.git' +" youCompleteMe + Plugin 'git://github.com/Valloric/YouCompleteMe.git' +" leafgarland -- typescript recognition +" Plugin 'https://github.com/leafgarland/typescript-vim' +" ale -- asynchronus error checking + Plugin 'https://github.com/w0rp/ale' +" omnisharp (c#) + Plugin 'OmniSharp/omnisharp-vim' + +" example for local command: +" Plugin 'file:///home/gmarik/path/to/plugin' +" <======================================================> +" All of your Plugins must be added before the following line +call vundle#end() " required +filetype plugin indent on " required +" To ignore plugin indent changes, instead use: +"filetype plugin on +" +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal +" +" see :h vundle for more details or wiki for FAQ +" Put your non-Plugin stuff after this line + +" =================================================================================== +" === MY PLUGIN SETTINGS ============================================================ +" =================================================================================== + +" --- Nerd Tree --- +map :NERDTreeToggle +let g:NERDTreeNodeDelimiter = "\u00a0" " -- Was seeing ^G character, and this should fix that + +" --- YouCompleteMe (YCM) --- +function! ToggleYCM() + if g:ycm_auto_trigger + let g:ycm_auto_trigger = 0 + echohl DiffDelete | echo "YouCompleteMe autocompletion disabled" | echohl None + else + let g:ycm_auto_trigger = 1 + echohl DiffAdd | echo "YouCompleteMe autocompletion enabled" | echohl None + endif +endfunction +nnoremap :call ToggleYCM() +let g:ycm_auto_trigger=0 + +" --- ALE --- +let g:ale_linters = { +\ 'cs' : ['OmniSharp'] +\} +let g:ale_lint_on_text_changed = 'never' + +" --- command t --- +nnoremap T :CommandT