I'm using ctags to create a tags file for use in Vim in a latex project. I have a main.tex file and several files in the chapters directory such as chapters/chapter1.tex. I have the following code in the main.tex file:
include{chapters/chapter1}
I want to be able to jump to chapter1.tex by pressing ^] on the chapter1 above. Currently by running the command
ctags -R extras=+f
It only creates a tag for 'chapter1.tex' and I can only jump if the text is exactly 'chapter1.tex'. How can change ctags configuration to create a tag for 'chapter1' instead of 'chapter1.tex'?
question from:
https://stackoverflow.com/questions/65867522/create-tags-for-files-using-ctags 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…