Is it possible to index a plain text file (a book) in vim such as :
1. This line contains the words : London, Berlin, Paris
2. In this line, I write about : New-York, London, Berlin
...
100. And, to conclude, my last comments about : New-York, Paris
and have this resulting index :
Berlin : 1
London : 1, 2
New-York : 2, ..., 100
Paris : 1, ..., 100
and, if it is possible, what is the tagging method ?
I have read about ctags, but it seems to be dedicated to specific languages (and to say the truth, a bit overkill for my needs)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…