Problem:
2gb to open bookmark#2). As the bookmark list gets or deletes entries, the numbers keep changing, requiring listing the bookmarks with qb to discover the desired bookmark number. Typing gb without a count opens g:netrw_bookmarklist[-1].Solution:
gb, list all bookmarks and prompt for a number using inputlist(), similar to tag jump with g].https://github.com/vim/vim/pull/20211
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra I was considering implementing the same inputlist() logic for the bookmark deletion mapping, mB (s:NetrwBookHistHandler a:chg == 6). Currently, typing mB without a count just deletes g:netrw_bookmarklist[-1].
I'm not a fan of the mapping deleting without a count prefix, because someone can delete the last bookmark entry by accident if they mistype the command for creating a bookmark (mb). However, maybe some users like to keep pressing mB to pop-out the last entry in the list.
I found this new behavior with inputlist() pretty nice. Do you think it would fit well for the deletion mapping too? If so, I could add it to this PR.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@jpseibt pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()