Add vim option select to shell profile
This commit is contained in:
parent
79d492df92
commit
4c5371a8c2
@ -19,8 +19,13 @@ export LANG="en_US.UTF-8"
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Export editor preferences.
|
||||
export EDITOR="vim"
|
||||
export VISUAL="vim"
|
||||
if which nvim &> /dev/null; then
|
||||
export PREFERRED_VIM=nvim
|
||||
else
|
||||
export PREFERRED_VIM=vim
|
||||
fi
|
||||
export EDITOR="$PREFERRED_VIM"
|
||||
export VISUAL="$PREFERRED_VIM"
|
||||
|
||||
# Export browser preferences.
|
||||
export BROWSER="firefox"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user