-
Notifications
You must be signed in to change notification settings - Fork 762
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
Update MotionQuoteAction.kt to support iq and aq motions #1081
Conversation
Hello, and thank you for your interest! Do you know of any existing Vim plugins with similar functionality? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments are above.
Hi @AlexPl292! Yes, I was exploring the functionality of this plugin: mini.ai. It allows me to use motions like ciq, caq, diq, and daq to work with any type of quotes, which I find incredibly useful. It also supports motions like cib, cab, dib, and dab for working with parentheses, curly braces, and square brackets. I understand this might be a bit unconventional since the standard is b for parentheses and B for curly braces, but I find it super comfortable and intuitive to use. I'll check out the JetBrains plugin documentation since I currently have no experience implementing something similar as a plugin. Thanks for pointing me in the right direction! |
Just a small pet peeve, Use of |
@Iamlooker, thanks for the feedback! 😊 I might consider creating a plugin to implement this feature in the future. I just need to learn Java or Kotlin first since I'm not experienced with them yet, haha |
Not at all, what you did is really awesome keep up |
@oca159 you don't need to create a separate plugin. You could add this to the Extensions folder, unless @AlexPl292 would prefer to see it external? |
Yes, we can put it in IdeaVim repository, but as an extension, not as a core functionality. |
@Iamlooker , @AlexPl292 , @citizenmatt I created a new PR with the new extension, please take a look at it and let me know your feedback, as i mentioned, this is my first extension and i don't have too much experience with kotlin, any ideas, comments and suggestions are welcome. I tested my new extension and it works! you can do it as well with |
new pr: #1087 |
Hi everyone,
I’d like to propose a new motion for editing text inside or around any type of quotes: ', ", or `.
The idea is to introduce motions like ciq, caq, diq, and daq to streamline these actions and make them more intuitive.
What do you think? Feedback is welcome! 😊
Notes:
I don't have experience with kotlin, so let me know if there is something wrong with my code change.