Skip to content

Commit

Permalink
Trigger tag generation on file write
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Berri committed May 26, 2021
1 parent 1783412 commit bafc3b1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[core]
editor = vim
excludesfile = ~/.global_gitignore

[diff]
tool = vimdiff
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.swp
.name
.*_tags
1 change: 1 addition & 0 deletions .global_gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/.sberri_tags
5 changes: 3 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ nnoremap <F7> :GitGutterToggle<CR>
if executable("ctags")
Plugin 'xolox/vim-misc'
Plugin 'xolox/vim-easytags'
set tags=./tags;
let g:easytags_dynamic_files = 1
set tags=./.sberri_tags;
" let g:easytags_dynamic_files = 2
let g:easytags_events = ['BufWritePost']
endif

" " Tagbar to better navigate the code in a side pane
Expand Down
1 change: 1 addition & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ files2link="
.tmuxStatus.sh
.vimrc
.gitconfig
.global_gitignore
.ctags
.pylintrc
.vim/plugin
Expand Down

0 comments on commit bafc3b1

Please sign in to comment.