Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only some commands work #6

Open
elbowz opened this issue Jul 17, 2024 · 5 comments
Open

Only some commands work #6

elbowz opened this issue Jul 17, 2024 · 5 comments

Comments

@elbowz
Copy link

elbowz commented Jul 17, 2024

Maybe, I'm missing something, but command like: mcv, mcr, mci( don't seem to work.

In the idea.log I don't see anything

ms/print work like expected

@elbowz elbowz changed the title Only some commands works Only some commands work Jul 17, 2024
@dankinsoid
Copy link
Owner

@elbowz Hi, yes I supported only some commands: /, f, t, w, W, b, B, e, E
How would you expect mcv, mcr and mci to work?

@elbowz
Copy link
Author

elbowz commented Jul 22, 2024

How would you expect mcv, mcr and mci to work?

  • mcv: add a caret on the current position (the same behavior Intellij does)
  • mcr: not clear the difference between real and virtual, but on my IDE it simply "replace" the character (vim behaviour)
  • mci(: in an example string like this is (ex|ample) string with '|' represent the current caret I expect to have: this is (|example|) string, just two carets, one after '(' and

I hope to be clear

thanks!

@torbenf
Copy link

torbenf commented Sep 10, 2024

The README is not very clear. I too don't know how to properly use mcv, mcr and mci.
More examples would be very useful.
ms/print works as expected but what is a virtual and a real caret?

@dankinsoid
Copy link
Owner

@torbenf yes, I should update the readme, and it looks like some commands are broken in the new versions of the IDE.
I implemented a virtual caret to allow adding multiple carets manually in vim: you create virtual carets and then use mcr to make them real (regular) carets. However, I'm not sure if this feature is useful now, since the IDE itself allows adding a caret with the keyboard.

@reinierbutot
Copy link

also pressing escape in the latest version does not remove the created cursors. i have to manually click with the mouse somewhere to get rid of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants