keep <plug>
mapping not remove
#261
milanglacier
started this conversation in
General
Replies: 1 comment
-
I agree with this - I hate figuring out a different way to do keymaps for every plugin. Please continue to provide |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Personally I will map multiple keymaps to one execution,
for example I will map
<Leader>ss
,<Leader>sl
to same execution:iron send line
,so deprecating
<plug>
mapping will make my config be less clearer,I next need to call
mappings = {send_a_line = '<Leader>ss'}
first, and then callingnmap <Leader>ss <Leader>sl
,i.e a recursive map, which is not ideal.
For a
<plug>
style mapping, I can map<leader>ss
and<Leader>sl
to<Plug>iron-send-a-line
which is definetely more clearBeta Was this translation helpful? Give feedback.
All reactions