You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
It's not possible to define mapping to f for the ideavim-sneak inside of .ideavimrc.
This happens because the extension ideavim-sneak is always loaded after .ideavimrc execution and overrides my f mapping. Also, it sets mapping to s even I defined a different one.
The common vim approach to that is to set the mapping only in case there are no other mappings to the target combination, so instead of map a b they use if hasnomap('b') { map a b }. This approach is also possible with IdeaVim, but you need to bump IdeaVim version to be able to use com.maddyhome.idea.vim.extension.VimExtensionFacade#putKeyMappingIfMissing instead of VimExtensionFacade.putKeyMapping. AlexPl292@7bc0cc9#diff-70f746b80ee793cd4c788716eb5f0e7435f1ac6e81e0f73af0ee9dbc641acbbeR39
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It's not possible to define mapping to
f
for the ideavim-sneak inside of .ideavimrc.This happens because the extension ideavim-sneak is always loaded after .ideavimrc execution and overrides my
f
mapping. Also, it sets mapping tos
even I defined a different one.The common vim approach to that is to set the mapping only in case there are no other mappings to the target combination, so instead of
map a b
they useif hasnomap('b') { map a b }
. This approach is also possible with IdeaVim, but you need to bump IdeaVim version to be able to usecom.maddyhome.idea.vim.extension.VimExtensionFacade#putKeyMappingIfMissing
instead ofVimExtensionFacade.putKeyMapping
.AlexPl292@7bc0cc9#diff-70f746b80ee793cd4c788716eb5f0e7435f1ac6e81e0f73af0ee9dbc641acbbeR39
The text was updated successfully, but these errors were encountered: