EDITOR=nvim

This commit is contained in:
Henrik Lissner 2015-12-17 05:31:29 -05:00
parent 5bb5e8c1b3
commit aeca37d359

4
zshenv
View file

@ -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