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]
|
[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
|
||||||
|
|
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
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue