add global ignore-file to ignore helptags from vim

This commit is contained in:
Jakobus Schürz 2020-10-30 23:47:03 +01:00
parent 8d87a75db8
commit 868cf2651a
3 changed files with 3 additions and 0 deletions

View file

@ -13,6 +13,7 @@
default = simple default = simple
[core] [core]
editor = vim editor = vim
excludesFile = ~/.gitignore_global
[diff] [diff]
submodule = log submodule = log
[alias] [alias]

1
.gitignore_global Normal file
View file

@ -0,0 +1 @@
tags

View file

@ -52,6 +52,7 @@ create_symlinks() {
ln -sf "${MYSHELLCONFIG_BASE}/vimrc" ~/.vimrc ln -sf "${MYSHELLCONFIG_BASE}/vimrc" ~/.vimrc
ln -sf "${MYSHELLCONFIG_BASE}/vim" ~/.vim ln -sf "${MYSHELLCONFIG_BASE}/vim" ~/.vim
ln -sf "${MYSHELLCONFIG_BASE}/.gitconfig" ~/.gitconfig ln -sf "${MYSHELLCONFIG_BASE}/.gitconfig" ~/.gitconfig
ln -sf "${MYSHELLCONFIG_BASE}/.gitignore_global" ~/.gitignore_global
#ln -sf "${MYSHELLCONFIG_BASE}/bashrc_add" ~/bashrc_add #ln -sf "${MYSHELLCONFIG_BASE}/bashrc_add" ~/bashrc_add
ln -sf "${MYSHELLCONFIG_BASE}/tmux" ~/.tmux ln -sf "${MYSHELLCONFIG_BASE}/tmux" ~/.tmux
ln -sf "${MYSHELLCONFIG_BASE}/tmux/tmux.conf" ~/.tmux.conf ln -sf "${MYSHELLCONFIG_BASE}/tmux/tmux.conf" ~/.tmux.conf