freitass / todo.txt-vim

Vim plugin for Todo.txt
488 stars 121 forks source link

iskeyword: append `+` and `@`? #71

Open myrdd opened 5 years ago

myrdd commented 5 years ago

What do you think about appending the characters + (plus sign) and @ (at sign) to the iskeyword (isk) option?

:set iskeyword+=+,@-@

This way pressing * (star) on +project and @tag will include + and @ to the word search. Citing from :h iskeyword:

Keywords are used in searching and recognizing with many commands:
"w", "*", "[i", etc.  It is also used for "\k" in a pattern.

Do you think this is a good idea?