diff --git a/home/private_dot_config/git/config b/home/private_dot_config/git/config index d80c1c9..16ab6b6 100644 --- a/home/private_dot_config/git/config +++ b/home/private_dot_config/git/config @@ -1,7 +1,8 @@ [credential] helper = cache [core] - editor = nvim + editor = vim + excludesfile = /home/daylin/.config/git/ignore [user] name = Daylin Morgan email = daylinmorgan@gmail.com diff --git a/home/private_dot_config/git/ignore b/home/private_dot_config/git/ignore new file mode 100644 index 0000000..a2f6ba4 --- /dev/null +++ b/home/private_dot_config/git/ignore @@ -0,0 +1,2 @@ +.vscode/ +tmp/ diff --git a/system/env.sh b/system/env.sh index 0ece1bc..6af445f 100644 --- a/system/env.sh +++ b/system/env.sh @@ -20,7 +20,9 @@ unsetopt autocd # Vim Settings # export VIMINIT='source $MYVIMRC' # export MYVIMRC='$DOTFILES_DIR/system/.vimrc' -if is-executable nvim; then +if is-executable lvim; then + export EDITOR=lvim +elif is-executable nvim; then export EDITOR=nvim else export EDITOR=vim