Skip to content

How do I enable vi mode? #330

@mynamewastaken

Description

@mynamewastaken

I've tried setting it this way which errors out:

PS C:\users\me\Downloads> Set-PSReadlineOption -EditMode Vi
Set-PSReadlineOption : Cannot bind parameter 'EditMode'. Cannot convert value "Vi" to type
"PSConsoleUtilities.EditMode". Error: "Unable to match the identifier name Vi to a valid enumerator name.  Specify one
of the following enumerator names and try again: Windows, Emacs"
At line:1 char:32
+ Set-PSReadlineOption -EditMode Vi
+                                ~~
+ CategoryInfo          : InvalidArgument: (:) [Set-PSReadlineOption], ParameterBindingException
+ FullyQualifiedErrorId :     CannotConvertArgumentNoMessage,PSConsoleUtilities.SetPSReadlineOption

I've tried installing both via Github as well as via PSGet and get the same result both ways. Am I missing a step somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions