r/programming • u/variance_explained • May 23 '17
Stack Overflow: Helping One Million Developers Exit Vim
https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/
9.2k
Upvotes
View all comments
Show parent comment
1
u/[deleted] May 24 '17
Modal editing just feels so clunky for editing a command-line! I love it for modifying larger texts, but for something where 50% of the time I'll be typing
ls, it seems like overkill.Example: I try to do
mkdir foo bar, but I typoed it intomkdir fo var. In emacs mode, I can poke ctrl-left to get tov, then delete and press b, then left, left,o(keys: c-left, delete, b, left, left, o). In vi mode, I have to press esc, b, r, b, left, i, o -- it's less of a dance around the keyboard, but switching between modes adds a lot of overhead, both in terms of keypresses and in terms of working out what keys to press to get the desired result.