News for hackers. Stuff that matters.
Re:Quick tip for developers who use OS X by mkdir on Monday January 13, 2014 @05:40PM (#7054066)
Is there a functional difference between putting...

    set editing-mode vi
... in one's inputrc and...

    set -o vi
... in one's .bashrc?

I realize that .inputrc is the config file for Readline, and .bashrc is essentially a start-up file for Bash. But is it ever necessary to use both snippets?

Re:Quick tip for developers who use OS X by terminus on Monday January 13, 2014 @06:35PM (#7054375)
I would imagine that .inputrc would serve as a superset in that all programs (for instance gdb) whiich use readline would now default to vi mode.
Re:Quick tip for developers who use OS X by jknupp on Monday January 13, 2014 @08:56PM (#7054901)
This is the most useful thing I've heard this (short) year. I've always been looking for a way to make readline globally default to vi mode. Thanks for that.
Re:Quick tip for developers who use OS X by bilalq on Monday January 13, 2014 @07:07PM (#7054505)
Indeed. It also works in things like irb, for example.