Use nvim instead of vim

This commit is contained in:
RealStickman 2021-03-22 17:02:20 +01:00
parent a4d66df1e2
commit 65e9dc3565

View File

@ -33,8 +33,8 @@ set fish_color_cancel brred
# text editor # text editor
#set EDITOR "/usr/bin/emacs --no-window-system" #set EDITOR "/usr/bin/emacs --no-window-system"
#set VISUAL "/usr/bin/emacs --no-window-system" #set VISUAL "/usr/bin/emacs --no-window-system"
set EDITOR "/usr/bin/vim" set EDITOR "/usr/bin/nvim"
set VISUAL "/usr/bin/vim" set VISUAL "/usr/bin/nvim"
# add paths # add paths
set fish_user_paths "$HOME/.emacs.d/bin/" $fish_user_paths set fish_user_paths "$HOME/.emacs.d/bin/" $fish_user_paths
@ -44,6 +44,9 @@ set fish_user_paths "$HOME/.local/bin" $fish_user_paths
# edit with emacs # edit with emacs
alias emacs="/usr/bin/emacs --no-window-system" alias emacs="/usr/bin/emacs --no-window-system"
# use neovim instead of vim
alias vim="/usr/bin/nvim"
# alias cat # alias cat
alias cat="$HOME/scripts/pieces/cat.sh" alias cat="$HOME/scripts/pieces/cat.sh"