Skip to content

Seeking tips for <leader> shortcuts #268

Answered by numToStr
lcfd asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to make 1 work in visual mode on multiple lines?

If you configured it via opleader.line then it should also work in visual mode, including normal mode.

But, if you want <leader>1 to only work in visual mode (no normal mode) then it's not possible to configure via setup().

Beside that, you could use :h comment.plugmaps to define your own custom keybindings.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lcfd
Comment options

Answer selected by lcfd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants