News for hackers. Stuff that matters.
Re:Vim for Humans by bgribble on Monday October 17, 2016 @04:56PM (#12729658)
I wrote a shell toy to help me learn vim motions.. the idea is you can grab parts of the output of previous shell commands by passing vim motions. So like when you want to say "git checkout <that branch mentioned 5 lines up in the previous command's output>" you can do it :)

  git checkout $(lw 5kyiW)
It's more of a toy than a power tool but I do use it somewhat regularly.

https://github.com/bgribble/lw

Re:Vim for Humans by amboar on Monday October 17, 2016 @05:26PM (#12729928)
For bash or any other application using the readline library you can configure it for vi mode by adding 'set editing-mode vi' to your ~/.inputrc. Note for bash you can instead add 'set -o vi' to ~/.bashrc to avoid setting the mode for all readline applications
Re:Vim for Humans by ifoundthetao on Monday October 17, 2016 @05:16PM (#12729853)
Interesting, you may be interested in vi mode in bash.

http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-shee...