Skip to content

Commit

Permalink
Use nvim over vim when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
clvv committed Mar 13, 2023
1 parent 02e77e3 commit 53a4776
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .env
Expand Up @@ -23,9 +23,13 @@ pathmunge "/home/linuxbrew/.linuxbrew/bin"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

export PYTHONSTARTUP="$HOME/.pythonrc.py"
export EDITOR=vim
export PAGER="$HOME/bin/vimpager"

export EDITOR=vim
if command -v nvim > /dev/null 2>&1; then
export EDITOR=nvim
fi

# BSD ls color
export LSCOLORS="Exfxcxdxbxegedabagacad"
ls --color=auto > /dev/null 2>&1 || \
Expand Down
1 change: 0 additions & 1 deletion .gitconfig
Expand Up @@ -4,7 +4,6 @@
name = Wei Dai
email = me@wdai.us
[core]
editor = vim
excludesfile = ~/.ignore
[alias]
ci = commit
Expand Down

0 comments on commit 53a4776

Please sign in to comment.