3 ms·
If you're a Vimmer this is invaluable. ctrl-c and esc feel terrible after that.
by threatofrain 9y ago
If you're a Vimmer this is invaluable. ctrl-c and esc feel terrible after that.
- rocqua 9y agoI'm hesitant to do this for portability reasons, but it really would be a great method. Instead, I have some stuff in my .vimrc, which is a lot easier to port over than a key-remap.
- deleted 9y ago[deleted]
- kough 9y agoI get bye with capslock remapped as control and using ctrl-[, which is the pinky of each hand and requires minimal movement. Control in general is useful for everything, escape not as often.
- eddyg 9y agoCtrl-C is another option that works the same as Escape and is easier to activate with one hand.
- kough 9y agoI both knew this and read the post I was responding to, which also brings this up as an option. I commented about Ctrl-[ because it was the last previously-unmentioned option.
- eddyg 9y agoMy bad. I didn't even catch that "ctrl-c" was mentioned in the parent!
- u801e 9y agoNot quite. If you want to append or insert characters using blockwise visual mode in vim, it won't work with Ctrl-C. It will work with Ctrl-[ or Esc.
- lentil 9y agoThat's true for the default behaviour. Ctrl-C also won't call autocommands (like InsertLeave). But - you can always map <C-c> to <ESC>, so that it'll work exactly the same.
- flukus 9y agoI use "imap zz <ESC>" . ZZ is already save and quit so it feels quit natural.