feat(zsh): use neovim
This commit is contained in:
parent
1e4a294d99
commit
1e31e8d074
10
.zshrc
10
.zshrc
@ -148,6 +148,14 @@ alias hg="kitty +kitten hyperlinked_grep"
|
|||||||
alias ls='exa --icons --no-permissions --no-user'
|
alias ls='exa --icons --no-permissions --no-user'
|
||||||
alias make='colormake-short'
|
alias make='colormake-short'
|
||||||
|
|
||||||
|
# Neovim — nvim
|
||||||
|
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:
|
# Debian Specific:
|
||||||
# sudo dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
|
# sudo dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
|
||||||
|
|
||||||
@ -216,7 +224,7 @@ fi
|
|||||||
###
|
###
|
||||||
|
|
||||||
export BROWSER=firefox
|
export BROWSER=firefox
|
||||||
export EDITOR=vim
|
export EDITOR=nvim
|
||||||
|
|
||||||
# -i Searches ignore case
|
# -i Searches ignore case
|
||||||
# -F Automatically exit if the entire file can be displayed
|
# -F Automatically exit if the entire file can be displayed
|
||||||
|
Loading…
Reference in New Issue
Block a user