1

I have vimwiki and vim-vinegar and they conflict on an nmap. Calling map - shows these two maps:

n  -            @<Plug>VimwikiRemoveHeaderLevel
n  -             <Plug>VinegarUp

unmap only removed the vinegar map, and subsequent unmaps didn't touch the other map. What I actually wanted to is to unmap the vimwiki map. What does the @ mean in front of <Plug>? How can I remove a mapping like that? Could I specifically unmap just this one map?

1 Answer 1

2

Try :help map-listing, so we know @ signifies a buffer-local mapping (<Plug> is its own thing: :help <Plug>).

To unmap a buffer-local mapping, you have to pass <buffer>: :nunmap <buffer> - (:help map-buffer).

1
  • Thanks, I never found map-listing in help.
    – fbence
    Aug 15, 2023 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.