3 ms·
Its the weakest part of the vim keyboard scheme IMO for ergonomics, and switching modes in general. I wish there was an alternative that gave a nod to vim but r
by afarviral 5y ago
Its the weakest part of the vim keyboard scheme IMO for ergonomics, and switching modes in general. I wish there was an alternative that gave a nod to vim but remained in 'input' mode without loss of capability, you know...without having to be vscode. If the key layout wasnt even worse, and it wasn't a bloated mess (on windows at least) I'd have switched to Emacs. Capslock is mostly a redundant button so I wholey support remapping it and for me is the only sensible way to use vim, binding to jj is hacky and plays up often and is inefficienct, and ctrl+] is insanity for such a regular press. Caps as Esc is useful in games when remapped to esc too for speedy pausing or simply pressing it by accident to kill you in a gunfight lol struggles
- usrbinbash 5y ago> I wish there was an alternative that gave a nod to vim but remained in 'input' mode without loss of capability Problem is, without modes, we lose capability that comes from the fact that modes exist, such as simple characters being compositeable commands; How should a non-modal editor know whether that [d] I just pressed is me wanting the letter `d` or the delete command? It can't; Either I have to somehow tell it "the next letter I press is to be interpreted as a command", or "interpret what I press as commands until I say otherwise". The former gets tiresome rather quickly (what if I have to do several commands?), the latter would again be a modal editor.
- Lio 5y agoNow I wouldn’t do this myself but… If you want stay in insert mode most of the time you could use Ctrl-o to switch to command mode for a single command and then be immediately returned to insert mode. Eg Ctrl-o de To delete to the end of the current word. Again, I definitely wouldn't do it that way but vim makes pretty much everything possible.