Skip to content

Implement Text Object Selection in Vi Mode #622

Closed
@bgshacklett

Description

@bgshacklett

I'm a heavy user of motions like iw, aw, i(, i[ etc. I would find it very useful to have these key bindings implemented in PSReadline's Vi Mode.

Activity

reaching-for-libra

reaching-for-libra commented on Jan 29, 2018

@reaching-for-libra

I'd also like to see this enhancement added to the module, but just wanted to add that you can implement it yourself using Set-PSReadlineKeyHandler.

Set-PSReadlineKeyHandler -Key 'c,i' -BriefDescription ViReplaceInside -LongDescription "Replace Inside" -ViMode Command -ScriptBlock { ... }

springcomp

springcomp commented on Dec 19, 2020

@springcomp
Contributor

This is a duplicate of #584.

bgshacklett

bgshacklett commented on Dec 22, 2020

@bgshacklett
Author

Closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bgshacklett@lzybkr@springcomp@reaching-for-libra

        Issue actions

          Implement Text Object Selection in Vi Mode · Issue #622 · PowerShell/PSReadLine