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] [credential]
helper = cache helper = cache
[core] [core]
editor = nvim editor = vim
excludesfile = /home/daylin/.config/git/ignore
[user] [user]
name = Daylin Morgan name = Daylin Morgan
email = daylinmorgan@gmail.com email = daylinmorgan@gmail.com

View file

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

View file

@ -20,7 +20,9 @@ unsetopt autocd
# Vim Settings # Vim Settings
# export VIMINIT='source $MYVIMRC' # export VIMINIT='source $MYVIMRC'
# export MYVIMRC='$DOTFILES_DIR/system/.vimrc' # 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 export EDITOR=nvim
else else
export EDITOR=vim export EDITOR=vim