Can you add a keymap that auto names bookmarks right away? #620
-
I'd like to replicate the Vim behavior in some sense. Each final letter on my keymap should name the bookmark accordingly. I also want to jump to any bookmark in the same fashion. Is this possible with this extension? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @martin-braun , Bookmarks supports labels, and you can play with the Navigation/Jumping, on the other hand, there is not quick navigation concept, as the bookmarks are just positions with (possible) labels to identify it, and you can only navigate to the previous/prior bookmark (line number related) or some random bookmark base on its line content/label. So, a Vim like behavior wouldn't be possible, unfortunately. I think to have replicate the Vim behavior, a new reengineered base concept would be required. Probably a separate extension for that. Hope this helps |
Beta Was this translation helpful? Give feedback.
Hi @martin-braun ,
Bookmarks supports labels, and you can play with the
bookmarks.label.suggestion
setting, so the extension will suggest the label for you. But right now, those suggestions are limited to the selected text or the entire line.Navigation/Jumping, on the other hand, there is not quick navigation concept, as the bookmarks are just positions with (possible) labels to identify it, and you can only navigate to the previous/prior bookmark (line number related) or some random bookmark base on its line content/label. So, a Vim like behavior wouldn't be possible, unfortunately.
I think to have replicate the Vim behavior, a new reengineered base concept would be required. Probably a…