-
Notifications
You must be signed in to change notification settings - Fork 306
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
Add "text object" support for Vi mode #584
Comments
Indeed - I might have mentioned this to @srdubya a long time ago. I might even switch to vi mode if this was implemented. (I use vim or vim bindings in my editors.) |
Yeah, my workaround when I really want to get nasty is set I'm even using the |
I’m working on this issue. This will probably need to be broken up into several pull requests.
I don’t see the immediate value for other more arcane text objects 😄. |
Hello, I worked on some custom key handler for ci, ca, di and da as it really make editing more fluent. At the moment I only address ' " ( [ { https://gist.github.com/belotn/538be5504b858c95890893b189720592 `Set-PSReadLineKeyHandler -Chord "c,i" -ViMode Command -ScriptBlock { VIChangeInnerBlock } ###################################################################### Section Function###################################################################### function VIChangeInnerBlock(){ function VIDeleteInnerBlock(){ function VIChangeOuterBlock(){ function VIDeleteOuterBlock(){ Regards, |
It would be really nice if Vi mode supported text objects so things like:
were possible.
The text was updated successfully, but these errors were encountered: