X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f4d03ca330b891407a83dd69ca643b02e63f1b45..d03f26aa4684f4809ef432379d6d4e051cb2ea77:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 2b6cca6..2eb44cd 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -68,6 +68,9 @@ Plugin 'nathanaelkane/vim-indent-guides' Plugin 'alx741/vinfo' Plugin 'vim-scripts/mediawiki.vim' Plugin 'derekwyatt/vim-protodef' +Plugin 'rdnetto/ycm-generator' +" needs editing colorscheme +" Plugin 'jeaye/color_coded' " remove entries first set runtimepath -=$HOME/.vim @@ -85,9 +88,6 @@ syntax on colorscheme badwolf " options {{{1 -" put $ and the end of text to be replaced with 'cw' and the likes -set cpoptions+=$ - " moving around, searching and patterns {{{2 set incsearch " show match for partly typed search command set ignorecase " ignore case when using a search pattern @@ -255,6 +255,9 @@ set wildignore+=*.luac " Lua byte code set wildignore+=*.pyc " Python byte code set wildignore+=*.orig " Merge resolution files +" running make and jumping to errors +set makeprg=make\ -w " print changing directories + " language specific {{{2 set isfname-== " don't treat `=` as being part of filenames @@ -482,8 +485,10 @@ inoremap gUiwgi nmap qq :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" " commands {{{1 -command! Cd lcd %:h -command! Cr execute('lcd ' . FindGitDirOrHome()) +command! Cd cd %:h +command! Cr execute('cd ' . FindGitDirOrHome()) +command! LCd lcd %:h +command! LCr execute('lcd ' . FindGitDirOrHome()) " plugins options {{{1 " airline {{{2