add global gitignore
This commit is contained in:
parent
8fa197e7bd
commit
fb56796046
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
2
home/private_dot_config/git/ignore
Normal file
2
home/private_dot_config/git/ignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
.vscode/
|
||||
tmp/
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue