Re:Know Your Tools – Terminal and Bash
by wolfhumble on Friday March 13, 2015 @03:33PM
(#9199442)
How do you typically go to e.g. beginning/end of line; via insert or normal mode and which key combinations do you prefer?
Always been using ctrl+a and ctrl+e in emacs mode myself . . .
edit: Actually, something cool I learned recently is that if you put the line "set editing-mode vi" in your ~/.inputrc then vi-like editing keys are available in any program that uses readline. This includes bash and the python repl. Presumably, a bunch of other repls and interactive command lines too.