-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi,
first, thanks a lot for that plugin, it is really nice to use.
I have a small issue, I use one global notes and some git branch name "local" ones.
but if I have let's say the global opened and i want to switch to the local one, if I don't close the global, it will be hidden behind the local one. it make it kinda tedious to switch between them as you have to remember to close the first before if you want to reopen it, or two use the keymap twice to close and open it again above the other.
I'm not sure I'm very clear.
I think a global_note.is_visible(name) so we can define our keymap functions or a second argument to toggle_note(name, bool close_others) might do the trick.
thanks again for this plugin which help me a lot to stay organized
ps: the function you provide for get_git_branch and so on uses vim.system which is only in the nightly version of neovim as of now.
I've rewrited those using vim.fn.system. tell me if you want my versions.
ps2: the third util function in the documentation is misnamed, should be get_git_branch instead or get_project_name