fold-preview.nvim icon indicating copy to clipboard operation
fold-preview.nvim copied to clipboard

Can't use `h` and `j` keys

Open lopi-py opened this issue 3 years ago • 2 comments

when I use h key I get this image and j key directly does nothing(not moving the cursor)

lopi-py avatar Oct 13 '22 20:10 lopi-py

Need more info. According to the error-stack the error is occurs in neo-tree.

anuvyklack avatar Oct 14 '22 13:10 anuvyklack

Ah right, seems related to neo-tree. I'll look into it, I lazy load both plugins, seems like when I load neo-tree before than fold-preview the issue occurs. I suspect that when neo-tree is loaded, fold-preview is loaded too in the neo-tree buffer so it maps to neo-tree(I use h and j in neo-tree to expand/collapse) and when I want to use it in a buffer, its mapping is still pointing to neo-tree, what do you think @anuvyklack

Edit: I'm pretty sure that its caused by the above stuff, looking at the stack, it begins on keymap-amend and ends on neo-tree related

lopi-py avatar Oct 14 '22 18:10 lopi-py