andri-ch / gotoword

vim plugin that gives users the possibility to write and access documentation about the word or expr. under cursor
GNU Lesser General Public License v3.0
0 stars 0 forks source link

enable completion for word under cursor with notes displayed by context #10

Open andri-ch opened 9 years ago

andri-ch commented 9 years ago

gotoword should detect if keywords exist in the document that is being edited or on the line the cursor is and display that in the helper buffer. Or if the user issues a :Helperhl or helhl (highlight) all keywords will be highlighted in the document. Maybe it should rely on external fast tools like "grep"?

So, say, user writes:

find

and in the helper buffer appear 10 most used combinations the more details it gives, the suggestions list narrows down:

find . -name '*.txt'