Hacker News new | ask | show | jobs
by anotherevan 703 days ago
Better still, /etc/inputrc

The three lines that go in the top of /etc/inputrc on my boxes:

    set completion-ignore-case on
    set editing-mode vi
    set keymap vi-command
For completion, I also set the following in the bottom of /etc/bash.bashrc

    export EDITOR=vi
    set -o vi