diff --git a/.zshrc b/.zshrc index 93334d8..9209721 100644 --- a/.zshrc +++ b/.zshrc @@ -166,18 +166,12 @@ alias ls='exa --icons --no-permissions --no-user' alias make='colormake-short' # Neovim — nvim -if (( ${+commands[nvim.appimage]} )); then - alias vi='nvim.appimage' -else - alias vi='nvim' -fi - local nvim_python=($HOME/.config/nvim/.direnv/python-3*(om)) nvim_python=$nvim_python[1] # Use `export NVIM=$(nvr --serverlist | fzf)` to choose existing instance alias nvr="${nvim_python}/bin/nvr" - +alias vi='nvim' # Debian Specific: # sudo dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind @@ -247,7 +241,7 @@ fi ### export BROWSER=firefox -export EDITOR=vi +export EDITOR=nvim # -i Searches ignore case # -F Automatically exit if the entire file can be displayed