summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-05-05 10:07:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-05-05 10:07:49 +0100
commitde0abc242b09222489ed667a9becdb42a7a602fd (patch)
tree967da3c137b1adb6d5fbf03bc3767aca94f121cf /vimrc
parent76a02687f62c57e2d8ecb10e8c118232fc3070c4 (diff)
minor changes vimrc
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 16687f6..7f8698c 100644
--- a/vimrc
+++ b/vimrc
@@ -190,9 +190,10 @@ nnoremap <Leader>fw :%s/\s\+$//<cr>
nnoremap <Leader>fi zzmxgg=G'x
" Misc
-nnoremap <Leader><cr> :w<cr>
-nnoremap <Leader>q :bd!<cr>
nnoremap <tab> <C-^>
+nnoremap Q :bd!<cr>
+nnoremap _ :w<cr>
+nnoremap <Leader>q :q!<cr>
nnoremap <LocalLeader>h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<CR>