home | switch default editor to lvim

This commit is contained in:
Don Harper 2024-06-04 23:31:51 -05:00
parent cedfa3d41a
commit d3ad4f0013
5 changed files with 7 additions and 5 deletions

View file

@ -8,6 +8,7 @@ alias l="ls -l"
alias df="df -h -x squashfs"
alias du="du -h"
alias neofetch="fastfetch"
alias vi="${EDITOR}"
if [ -x /home/don/.local/bin/dotdrop ]
then
alias dotdrop="/home/don/.local/bin/dotdrop -c ~/.dotfiles/config.yaml"

View file

@ -108,7 +108,7 @@ then
LESS="-Rs"
EXINIT="set wrapmargin=8 sh=$SHELL sw=4 report=2 tabstop=8"
export EXINIT EDITOR PAGER LESS
EDITOR=vi
EDITOR=lvim
if [ -x /usr/bin/vim ]
then
EDITOR=vim