summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>