slynch8 / 10x

10x IDE/Editor
180 stars 32 forks source link

vim bugs #1008

Open slynch8 opened 1 year ago

slynch8 commented 1 year ago
slynch8 commented 1 year ago
slynch8 commented 1 year ago
peterigz commented 1 year ago

Missing commands and issues with current commands. This list is not exhaustive, but a lot of the bread and butter of vim usage.

Moving:

Editing:

Searching:

Sorry it's a bit of a long list but it'd be awesome to get this functionality as I use most of these all the time, especially the 3 character commands like ciw, ci( etc and one of the most useful commands is '.' to repeat the last command. I'll take a look at the py file and see what I can add myself.

jcalabro commented 1 year ago

Hi! Wanted to add a couple more that I noticed to the list:

slynch8 commented 1 year ago

Still a long way to go, but the latest version has some of these (1.0.10) https://github.com/slynch8/10x/blob/main/PythonScripts/Vim/Vim.py

hkleynhans commented 10 months ago

Some missing items for my worflow:

Ctrl-[ should behave like Esc in all situations; including when wanting to stop auto-completion. (Right now it seems to just unindent) Ctrl-n to go to the next item in the completion list (this is still "new file") Ctrl-p to go to the previous item in the completion list.

javiersalcedopuyo commented 4 days ago

Hi,

I noticed that sometimes I lose the capacity to undo (both using ctrl-z and u) on a file, and need to close and reopen it to be able to get it working at all.

I haven't been able to reproduce it without the vim plugin enabled, so I assume it's a problem with the plugin itself.

I don't have any specific reproduction steps either. It happens eventually on every file, but it can be hours or minutes between, and I haven't noticed any patterns on actions that could trigger it.

I wonder if anyone else has seen the same issue, or if it's something specific to my setup / workflow.

Best regards.

slynch8 commented 4 days ago

I'm looking for a repro for this one, let me know if you spot any patterns.

javiersalcedopuyo commented 4 days ago

Found a way to reproduce it:

  1. Enable the vim plugin
  2. Make changes to a file
  3. Enter Insert mode
  4. Open a panel that has text input (find file, workspace search, find symbol, find function, etc)
  5. Try to undo the changes

Doesn't happen with the little search box of "Find" or "Find / Replace". Doesn't happen if you open the panel while in Normal or Visual mode. Doesn't happen with the vim plugin disabled.

slynch8 commented 4 days ago

Good find! thanks.

slynch8 commented 3 days ago

I've uploaded a fix in early access build (1.0.181)