]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: set global pwd with Cd/Cr and local LCd/LCr
[dotfiles.git] / vim / vimrc
index 833e962d530f8228f2f10043dae35f128f658de4..2eb44cde9b66dc30d30a8ff70c29aa33e6cf2407 100644 (file)
--- 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
@@ -482,8 +485,10 @@ inoremap <C-C> <Esc>gUiwgi
 nmap <silent> <leader>qq :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
 
 " 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