Hacker News new | ask | show | jobs
by jlgreco 4990 days ago
I use vi-mode in my shell but the end/beginning Vi commands (A,I,0,$,etc) are the only ones I find myself using regularly. I also use c[motion] and d[motion] on occasion, but that is pretty much it.

I'm not convinced that powerful editing is necessary for the command line, but familiar shortcuts for beginning/end seem very useful.

1 comments

There are absolutely times that powerful editing is mandatory at the command line; I am skeptical that there are times when powerful editing at the command line is necessary but pulling the line into your $EDITOR (v in vi-mode, ctrl-x ctrl-e in emacs-mode) is not the best way to deal with it.
but it's not about powerful editing alone. it's about nice things that are just in your fingertips, say using 'df ' to delete a --long-argument=/a/very/long/path from a command...
fair enough