Closed prscns closed 3 months ago
Seems like the same issue as #64 TLDR you either have to update your IdeaVim plugin (if that is possible) or revert to an older version of the WhichKey plugin. See the linked issues for more details
Updating everything indeed solved it! Now I have a different issue, \ doesn't work as leader (as it should by default) or even if I set it in .vimrc, but it works with a different key and idk how to debug it.
In any case, I appreciate your help with this and your work with the plugin!
\
as mapleader works for me by default and if I set it explicitly using let mapleader = "\"
:thinking:
Can you share your .ideamvimrc
? Maybe there is another setting that interferes here
it's the default intellimacs setup. When testing for whether "\" works as leader, of course I remove the line setting it to "-" or explicitly set it to "\". The odd thing is that in the list of intellimacs binds, https://github.com/MarcoIeni/intellimacs/blob/main/docs/KEYBINDINGS.org , "\" isn't taken, so it should work.
set ideajoin
source ~/.intellimacs/spacemacs.vim
" (Optional) Enable other Intellimacs modules
source ~/.intellimacs/extra.vim
source ~/.intellimacs/major.vim
" source ~/.intellimacs/hybrid.vim
" (Optional) Enable which-key plugin
source ~/.intellimacs/which-key.vim
" (Optional) My own vim commands
nnoremap Y y$
" (Optional) Comma for major mode
nmap , <leader>m
vmap , <leader>m
" (Optional) Add/edit actions
nnoremap <leader>gl :action Vcs.Show.Log<CR>
vnoremap <leader>gl :action Vcs.Show.Log<CR>
" easymotion
let mapleader="-"
set easymotion
But does it work with space
? Since Intellimacs explicitly sets space as mapleader
: https://github.com/MarcoIeni/intellimacs/blob/main/spacemacs/settings.vim#L4
That was what I missed, now it seems to work fine. Thank you for pointing it out and your work on this plugin!
I used an old which-key version (came with intellimacs) from my 2018 community edition of idea on windows 10 after updating to idea 2023. Then, I installed IdeaVim-EasyMotion, and because it wouldn't work, I updated my intellimacs and idea-vim started crashing upon start.
I believe this is an idea-which-key issue based from the error logs I'm seeing. I disabled IdeaVim-EasyMotion and the issue persists. Attaching the error logs. Any ideas of how to fix this?
=================