update vim selector
This commit is contained in:
parent
9dc373d0f7
commit
bdf71bec43
2 changed files with 6 additions and 1 deletions
|
@ -42,7 +42,11 @@ is-executable lazygit && alias lg=lazygit
|
||||||
alias tmux="tmux -f ~/.config/tmux/tmux.conf"
|
alias tmux="tmux -f ~/.config/tmux/tmux.conf"
|
||||||
alias rc="rclone --filter-from ~/.config/rclone/filter-file.txt"
|
alias rc="rclone --filter-from ~/.config/rclone/filter-file.txt"
|
||||||
# prefer nvim if installed
|
# 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
|
# gdu defualts
|
||||||
is-executable gdu && alias gdu -I '.*node_modules' -H
|
is-executable gdu && alias gdu -I '.*node_modules' -H
|
||||||
# more fzf
|
# more fzf
|
||||||
|
|
|
@ -23,6 +23,7 @@ unsetopt autocd
|
||||||
# Vim Settings
|
# Vim Settings
|
||||||
# export VIMINIT='source $MYVIMRC'
|
# export VIMINIT='source $MYVIMRC'
|
||||||
# export MYVIMRC='$DOTFILES_DIR/lib/.vimrc'
|
# export MYVIMRC='$DOTFILES_DIR/lib/.vimrc'
|
||||||
|
|
||||||
if is-executable lvim; then
|
if is-executable lvim; then
|
||||||
export EDITOR=lvim
|
export EDITOR=lvim
|
||||||
elif is-executable nvim; then
|
elif is-executable nvim; then
|
||||||
|
|
Loading…
Reference in a new issue