kyoheiu / felix

tui file manager with vim-like key mapping
https://kyoheiu.dev/felix/
MIT License
692 stars 24 forks source link

Unable to delete with `dd` on Windows #266

Open RioNight opened 6 months ago

RioNight commented 6 months ago

I'm unable to delete with dd on Windows. I'm using Wezterm and bash. Vd works (visual line mode + d). Vjjjd also works.

When I press dd to delete file80. The cursor gets looks like this: image

Then, when I press jj, the cursor looks like this (see below). The initial d is shown in the command mode but I can use jk to navigate between files.

image

If press hj to go up a directory then back into it, the cursor looks like this image

To get rid of the block in and only show the normal cursor > i need to enter :h<CR> and exit the help page.

kyoheiu commented 6 months ago

Can you do yyp (copy an item and paste it in the same directory)?

RioNight commented 6 months ago

Yes, yyp works.

kyoheiu commented 5 months ago

I think something might go wrong inside state.delete() and the operation fails, but I couldn't find any bugs. I don't have a Windows environment, so it's hard to debug. Sorry.