From edef979009525c9cda2cdf0a9e4d2bc0ad65f9ca Mon Sep 17 00:00:00 2001 From: jimi Date: Wed, 16 Feb 2011 22:16:10 -0600 Subject: [PATCH] Change keymaps for non-gui vim - -> d (NERDTree Toggle) - -> c (set cwd to file parent) --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 114be36..3f52e98 100644 --- a/vimrc +++ b/vimrc @@ -57,8 +57,8 @@ let g:rails_default_file='config/database.yml' autocmd User Rails silent! Rlcd " NERDTree settings -map :execute 'NERDTreeToggle' -let g:NERDTreeWinSize=25 +map d :execute 'NERDTreeToggle' +let g:NERDTreeWinSize=27 " Set filetype for nginx confs au BufRead,BufNewFile /usr/local/conf/* set ft=nginx @@ -68,7 +68,7 @@ let g:xptemplate_vars = 'author=J.Infield&email=jinfield@gmail.com&SParg=' let g:xptemplate_bundle = 'javascript_jquery' " Misc mappings -map :lcd %:p:h " change to cwd of current file +map c :lcd %:p:h " change to cwd of current file imap imap cc imap