Open benknoble opened 2 years ago
I have committed 447144c761b064b6bfa54f70fc641e7f29eaf6a3 to fix this problem. Can you try out the latest version of the plugin and let me know if you run into any issues?
:Fileselect
doesn't throw any errors now, but <Up>
and <Down>
turn into j
and k
in the filter (so they don't navigate the popup) and <Enter>
doesn't open the file; I'm not sure why this is happening.
I managed to sort of force it with :breakadd func fileselect#FileSelectShowMenu
and then just n
followed <Enter>
repeatedly, but I got an error (hard to handle popups when in debug mode) and then the file appeared.
To support toggling the fileselect popup with a map, I enabled processing mapped keys in the popup. This change may be causing this issue. Can you try removing the line 'mapping: 1' from popupAttr (line 343)?
That did the trick for me, and explains the issues with Up/Down/Enter (I have mappings on all of those).
Unfortunately I don't see how to recover the toggle behavior though.
For example: