From 64a993b854ba3ecf9478b94a3e78c11066c254ce Mon Sep 17 00:00:00 2001 From: Michel Date: Sat, 8 Apr 2023 21:06:03 +0200 Subject: [PATCH] fix(zsh): revert previous commit --- .zshrc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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