Can't type text containing prefix key
johntron opened this issue · comments
I need to search for words using the \b
word boundary using Jetbrains' built-in search panel. I can't enter the "\" character, because this is intercepted and interpreted as my KJump prefix key.
I also just realized I can't even type a "" when in IdeaVim insert mode.
Hi, I tried the following steps without your problem.
- Specify '' as the hotkey for KJump.
- Type '\b' in the IDEA built-in search panel, it will not trigger KJump.
Also, I can type "" in the IdeaVim insert mode.
Can you provide more information about the version, steps, etc?
Sorry @a690700752 - thanks for trying. I left out an important part: my shortcut or KJump is two keystrokes: \ followed by another \ (SpaceVim's default).
Steps to reproduce:
- Set KJump keyboard shortcut to two keystrokes: \ followed by another \ (SpaceVim's default).
- Put focus in editor pane
- Hit keyboard shortcut to find (cmd-f for me)
- Try to type \b
To reproduce issue in insert mode, follow steps 1, 2, and 4 (skip 3).
Hey, have you set a shortcut in IDEA's built-in "Keymap"? I think this problem will occur if you set two keystrokes. I recommend that you only need to set a shortcut in the IdeaVim
configuration.
A common approach is to add nmap <leader>jj :action KJumpAction<cr>
to ~/.ideavimrc
. This is the default key binding in Spacemacs.