add global gitignore

This commit is contained in:
Daylin Morgan 2022-01-27 10:41:14 -06:00
parent 8fa197e7bd
commit fb56796046
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -0,0 +1,2 @@
.vscode/
tmp/

View file

@ -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