update vim selector

This commit is contained in:
Daylin Morgan 2022-08-04 05:26:32 +00:00
parent 9dc373d0f7
commit bdf71bec43
2 changed files with 6 additions and 1 deletions

View file

@ -42,7 +42,11 @@ is-executable lazygit && alias lg=lazygit
alias tmux="tmux -f ~/.config/tmux/tmux.conf"
alias rc="rclone --filter-from ~/.config/rclone/filter-file.txt"
# prefer nvim if installed
is-executable nvim && alias vim=nvim
if is-executable lvim; then
alias vim=lvim
elif is-executable nvim; then
alias vim=nvim
fi
# gdu defualts
is-executable gdu && alias gdu -I '.*node_modules' -H
# more fzf

View file

@ -23,6 +23,7 @@ unsetopt autocd
# Vim Settings
# export VIMINIT='source $MYVIMRC'
# export MYVIMRC='$DOTFILES_DIR/lib/.vimrc'
if is-executable lvim; then
export EDITOR=lvim
elif is-executable nvim; then