You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most cases, I just want to jump to the right place from the bookmark list, I don't care which line in current file is a bookmark or annotation, so show signs is useless for me.
Can there be an option like g:bookmark_sign_disable? When it is set, then no signs will be shown.
There can be a command BookmarkSignToggle, which control whether show the signs or not.
Another little problem: when run vim directly without opening a file, then run :Unite vim_bookmarks, following error message will be shown
[unite.vim] unite buffer "default" candidates are empty
Thanks.
The text was updated successfully, but these errors were encountered:
I explored the code and figured out how to disable signs (added a new option bookmark_sign_disabled), but because the line highlighting feature relies on the sign (which is actually vim's built-in sign feature), it's not possible to keep line highlight while simply disable the sign. According to my very limited vim script knowledge, using match group for lines should be able to achieve that (see this article), but I'm not experienced enough to refactor in that way.
If you are interested in my implementation (can only disable sign and line highlight simultaneously), tell me and I will upload the code to a fork repo.
Do you have any update on the feasibility of this? It sounds like it requires a rather different implementation and would make this plugin quite complex.
In most cases, I just want to jump to the right place from the bookmark list, I don't care which line in current file is a bookmark or annotation, so show signs is useless for me.
g:bookmark_sign_disable
? When it is set, then no signs will be shown.BookmarkSignToggle
, which control whether show the signs or not.Another little problem: when run
vim
directly without opening a file, then run:Unite vim_bookmarks
, following error message will be shownThanks.
The text was updated successfully, but these errors were encountered: