Skip to main content
5 events
when toggle format what by license comment
Jun 14, 2020 at 13:16 comment added Codemonkey The addition of ctrl-etc key remaps to move while in insert mode is a good idea, I feel I should have thought of that! Given everyone else's comments and answers here though... I might just go back to the arrow keys.
Jun 12, 2020 at 21:25 comment added Dmitry @Codemonkey. Number of keystrokes is not the only side of fast editing. IMHO the more important is time. Let's be honest, in your example you have 4 keys and 2 hand motions (from base to arrows and back), which for me are far slower then pressing 8 nearest keys. I use inoremap <C-L> to move 1 key forward not leaving insert mode and some more tricks, which help sometimes. And yes, I still use arrows in some cases, like up-arrow in Cmdline mode to search command started with string I typed, and mouse to resize windows. Each tools is best at some tasks, don't limit yourself =)
Jun 12, 2020 at 11:34 comment added Luc Hermitte In all honesty, I've never understood this "arrow you shall not use" commandment. On the contrary, I've been using vi then vim for than more 25 years, and yet I seldom use hjkl. I don't feel less efficient than what I could be. In the use case you describe here, I'd use (in normal mode) down + F{key I see}
Jun 12, 2020 at 11:18 comment added Codemonkey I have no problem with navigating in normal mode - I'm not a god but I'm certainly using more than hjkl. It's the fact that without arrow keys it becomes impossible to navigate without quitting insert mode first. That's the bit I struggle with. I've remapped jk (and kj) to esc, and am used to that now, but to move one line down and three characters to the right I have to hit jkjlllli, rather than just <down><right><right><right>. It feels inefficient. 8 keystrokes vs 4.
Jun 12, 2020 at 10:55 history answered Luc Hermitte CC BY-SA 4.0