vi-mode: Shell pipeline to set vi mode

This snip can be used to set the shell and tmux to vi mode.
This commit is contained in:
Dustin C. Hatch
2018-02-16 10:01:18 -06:00
parent 3e4ebc19e6
commit c68761170b

1
vi-mode Normal file
View File

@@ -0,0 +1 @@
export EDITOR=vi; set -o vi; [ -x /usr/bin/tmux ] && tmux setw -g mode-keys vi