Re:Reinventing tools for developers, let's start with unix t...
by bumeye on Monday March 12, 2012 @10:25AM
(#3693602)
I use emacs mode for bash, which is default on mac. Then i bind 'option cursor left' to \033b and 'option cursor right' to \033f.
Voila, next and previous word using alt+arrow keys. Good enough for me :).
Re:Reinventing tools for developers, let's start with unix t...
by czzarr on Monday March 12, 2012 @10:16AM
(#3693570)
you just made my day sir. I never knew vi mode existed for bash.
Re:Reinventing tools for developers, let's start with unix t...
by niznikpawel on Monday March 12, 2012 @12:44PM
(#3694254)
Ha, amazing someone just learned something :).
You do know there are emacs and vi modes for bash, right?
http://www.hypexr.org/bash_tutorial.php#emacs http://www.hypexr.org/bash_tutorial.php#vi
Seriously, the command line is a fantastic programming environment. Learn more bash and your life will be better.