prefer nvim to vim in ssh connections
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
This commit is contained in:
parent
441bcc2b24
commit
7594f92351
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -89,7 +89,7 @@ export LANG=en_US.UTF-8
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# Preferred editor for local and remote sessions
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
if [[ -n $SSH_CONNECTION ]]; then
|
||||||
export EDITOR='vim'
|
export EDITOR='nvim'
|
||||||
else
|
else
|
||||||
export EDITOR='nvim'
|
export EDITOR='nvim'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue