Skip to content

Lazy loading by multiple keys #422

Answered by wbthomason
sQVe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Looks like you have an error in your keymap. In Vim/Neovim, to make a map with the ctrl key, you need to use the notation <c-{the character you want to map}>. So, in other words, your map should be <c-r>. The following works for me as expected:
use {'tversteeg/registers.nvim', keys = {{'n', '"'}, {'i', '<c-r>'}}}

Hope this helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sQVe
Comment options

You must be logged in to vote
0 replies
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