When I make a change to a file, for example, add a function, how can I make the taglist automatically update the “tag list” in its windows after I save the change?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I adapted my setup from the C++ code completion vim tip.
When needed, I press Ctrl-F12 to regenerate tags.
If you’re using vim-taglist, you could add to your
.vimrcan autocommand for the BufWritePost event to update the taglist window after every save: