aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 4762dc9..d288cda 100644
--- a/vimrc
+++ b/vimrc
@@ -360,6 +360,9 @@
" 2017.03.13:
" * Add <leader>Z mapping to run the nearest spec.
"
+" 2017.04.07:
+" * Make the "Ctrl-W q" command a no-op.
+"
" Pathogen
@@ -650,6 +653,9 @@ augroup last_viewed_tab
augroup END
nnoremap <leader>tl :execute "tabnext " . g:last_viewed_tab<cr>
+" Get rid of window quit command
+nnoremap <C-w>q <nop>
+
" Quickfix
nnoremap ]q :cnext<cr>
nnoremap [q :cprevious<cr>