X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d05cd755a23b4e6ecfd417d5d5da5b146c3ab7b9..ce04c694f566c533d93693cb8ea5524609cb5ff3:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 833e962..7771d14 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -19,7 +19,6 @@ Plugin 'bling/vim-airline' Plugin 'derekwyatt/vim-fswitch' Plugin 'elzr/vim-json' Plugin 'firef0x/pkgbuild.vim' -Plugin 'flazz/vim-colorschemes' Plugin 'junegunn/vim-easy-align' Plugin 'justinmk/vim-sneak' Plugin 'klen/python-mode' @@ -42,6 +41,9 @@ Plugin 'valloric/youcompleteme' Plugin 'vim-scripts/replacewithregister' Plugin 'vim-scripts/yankring.vim' +" colorschemes +Plugin 'flazz/vim-colorschemes' + " snippets Plugin 'sirver/ultisnips' Plugin 'honza/vim-snippets' @@ -68,6 +70,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 @@ -82,7 +87,7 @@ filetype plugin indent on " colorscheme {{{1 syntax on -colorscheme badwolf +colorscheme badfox " options {{{1 " moving around, searching and patterns {{{2 @@ -321,8 +326,8 @@ command! ToggleAutoChecktime let b:autochecktime=!get(b:, 'autochecktime', 0) | map " make -nnoremap r :make -nnoremap :make +nnoremap r :make! +nnoremap :make! " unhighlight search nnoremap / :silent nohl @@ -482,8 +487,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