[その他]
bashで使用するキーバインドをviにするにはset -o でshell optionにviを設定すればよい。
$ echo $SHELLOPTS braceexpand:emacs:hashall:histexpand:ignoreeof:interactive-comments:monitor set -o vi $ echo $SHELLOPTS braceexpand:hashall:histexpand:history:ignoreeof:interactive-comments:monitor:vi
$SHELLOPTSはreadonly varaibleなため、.bash_profileに記述する際にはexportするのではなく、上記のset -o viを使用すること。
広告
