LintaoAmons / bookmarks.nvim

Persistent bookmarks: powerful but simple (one shortcut to add, rename, and remove bookmark)
https://lintao-index.pages.dev/docs/Vim/Neovim/my-plugins-docs/bookmarks.nvim/
MIT License
173 stars 7 forks source link

Add commands #7

Closed LintaoAmons closed 8 months ago

LintaoAmons commented 8 months ago

BookmarkMark Commands

When you trigger the BookmarkMark command, there's a input box waiting for you to type in some instruction.

You can leave it empty a unnamed bookmark will create immediately.

You can type in some text, then the content will be the name of that bookmark and the content will also show as a virtual text at the end of the bookmarked line.

You can type command which start with ! to exec other actions, here is the list of actions you can use.

name short name Description
listnew ln create a new BookmarkList and set it to active and mark current line into this BookmarkList
listsetactive lsa set a BookmarkList as active