Change editor from terminal to vim

This commit is contained in:
RealStickman 2021-02-10 11:04:01 +01:00
parent 6de72f7087
commit 10ca702251
2 changed files with 8 additions and 4 deletions

View File

@ -22,8 +22,10 @@ if [ -d "$HOME/.emacs.d/bin/" ] ;
fi fi
# environment variables # environment variables
export VISUAL="/usr/bin/emacs --no-window-system" #export VISUAL="/usr/bin/emacs --no-window-system"
export EDITOR="/usr/bin/emacs --no-window-system" #export EDITOR="/usr/bin/emacs --no-window-system"
export VISUAL="/usr/bin/vim"
export EDITOR="/usr/bin/vim"
#update config #update config
#alias upconf='$HOME/scripts/arcolinux-config.sh' #alias upconf='$HOME/scripts/arcolinux-config.sh'

View File

@ -30,8 +30,10 @@ set fish_color_cancel brred
# environment variables # environment variables
set RANGER_LOAD_DEFAULT_RC FALSE set RANGER_LOAD_DEFAULT_RC FALSE
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 VISUAL "/usr/bin/vim"
# 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