Is it possible to use "<Plug>" commands to lazyload? #226
-
Forgive my ignorance on vim and optional loading 😄 Example: I'd like to be able to do something like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
wbthomason
Feb 19, 2021
Replies: 1 comment 2 replies
-
That should work, but the trick is that use {'ruanyl/vim-gh-line', keys = {'<Plug>(gh-line)', '<Plug>(gh-line-blame)'}} Hope this helps! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
wbthomason
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That should work, but the trick is that
<Plug>
is a fake key for keybindings, not a command. You probably want something likeHope this helps!