EDITOR=nvim
This commit is contained in:
parent
5bb5e8c1b3
commit
aeca37d359
4
zshenv
4
zshenv
|
@ -7,8 +7,8 @@ is-cygwin() { [[ "$OSTYPE" == "cygwin"* ]]; }
|
||||||
export BROWSER='open'
|
export BROWSER='open'
|
||||||
|
|
||||||
## Editors
|
## Editors
|
||||||
export EDITOR='vim'
|
export EDITOR=$(is-callable nvim && echo 'nvim' || echo 'vim')
|
||||||
export VISUAL='vim'
|
export VISUAL=$EDITOR
|
||||||
export PAGER='less'
|
export PAGER='less'
|
||||||
export RUBYOPT=rubygems
|
export RUBYOPT=rubygems
|
||||||
# export CC=/usr/bin/clang
|
# export CC=/usr/bin/clang
|
||||||
|
|
Loading…
Reference in a new issue