Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An epiphany I had years ago was realizing that keyboard-based commands enables semantically dense editor interaction. Specifically, vi(m?) has a large number of commands available as 1+ letter combinations. This allows for a very large set of operations usually available within 5 or less characters.

Compared to WYSIWYG editors, the theoretical efficiency difference is tremendous.

Of course, for any given person using such a powerful editor, no two usage patterns will be the same. This is a testament as to why vi(m?) has lasted so long IMHO.



But also modal editing increases the number of such combinations. And most importantly modal editing decreases the number of modified keys (control, shift, alt, meta, two of those, ...). Your lack of carpal tunnel might thank vi and VIM, if a lack of something could be a conscious thing.


> But also modal editing increases the number of such combinations. And most importantly modal editing decreases the number of modified keys (control, shift, alt, meta, two of those, ...).

+1

> Your lack of carpal tunnel might thank vi and VIM, if a lack of something could be a conscious thing.

I totally agree regarding how using vim as a program editor helps reduce RSI[0]. Another way to reduce same which I employ is to swap caps lock and the left control key. Not only does this reduce unnatural contortions, it also facilitates easier use of common keyboard combinations in both vi and terminals, such as:

- using ^[ instead of ESC.

- using control-based vi navigation commands (^B, ^F, et al).

- using ^M instead of return (less useful).

- making terminal control characters much easier to produce (^U, ^\, etc.).

0 - https://en.wikipedia.org/wiki/Repetitive_strain_injury


Another thing that helps is the accessibility feature known as "sticky keys". Specifically it helps prevent/reduce ulnar and other deviations. The paucity of modifier keys in vim also helps, as noted earlier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: