diff options
author | Teddy Wing | 2017-04-07 10:48:11 +0200 |
---|---|---|
committer | Teddy Wing | 2017-04-07 10:59:50 +0200 |
commit | dc47471f27d5f50a439ffe28b3b5bb03003c1335 (patch) | |
tree | 3884aae41217e85ae65d8e192b114792a7616c26 /bundle/vim-gitcha | |
parent | 9eb8bec9d816936041efef285ae36af3337d728d (diff) | |
download | dotvim-dc47471f27d5f50a439ffe28b3b5bb03003c1335.tar.bz2 |
vimrc: Make <C-w>q command a no-op
When hitting <C-w> to initiate a window command, I kept accidentally
hitting <C-w>q and quitting the window I was in. This was extremely
aggravating, because (1) it would be surprising and confusing for a
couple seconds, and (2) I'd have to stop what I was doing and get my
workspace back to what it was before.
I was accidentally hitting it because the 'w' and 'q' keys are so close
together.
The only difference I can see between <C-w>q and <C-w>c is that the 'q'
version will quit Vim if the current window is the last one. I don't see
myself needing that functionality with 'ZQ' readily available. Since
closing a window is a destructive operation, I prefer it being farther
away on the keyboard (even though 'c' is right next to 'v' and that
confusion has messed me up sometimes).
All that said, get rid of this command that has a more useful
equivalent, that I don't see myself using, and that has messed me up at
least three times already.
Diffstat (limited to 'bundle/vim-gitcha')
0 files changed, 0 insertions, 0 deletions