summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-06-26 17:11:59 +0200
committerFlorian Pritz <f-p@gmx.at>2009-06-26 17:11:59 +0200
commitbbe5572e51e47bbd7fd99ea01773d302b84e31a4 (patch)
tree6051d8b18c2f0ffccb0b84f20ec5b95f79d9b106
parentf88ec42019591d4a51efc77242ee00916c6ec12d (diff)
downloaddotfiles-bbe5572e51e47bbd7fd99ea01773d302b84e31a4.tar.gz
dotfiles-bbe5572e51e47bbd7fd99ea01773d302b84e31a4.tar.xz
keybinding to exit vim
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 8007b2b..e3608df 100644
--- a/.vimrc
+++ b/.vimrc
@@ -34,6 +34,8 @@ let python_highlight_all = 1
" common save shortcuts
inoremap <C-s> <esc>:w<cr>a
nnoremap <C-s> :w<cr>
+inoremap <C-c> <esc>:q<cr>a
+nnoremap <C-c> :q<cr>
au VimEnter * :NERDTreeToggle