How do I enable vi mode?
See original GitHub issueI’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?
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to setup Vi Editing Mode for zsh
After vi mode is enabled, you enter the "insert" mode by default. To enter "normal" mode, use Esc . And i or a...
Read more >How To Use Vim Mode On The Command Line In Bash
Move down in Bash command history. Add this line to the bottom of your .bashrc file. set -o vi.
Read more >Vi mode in Bash - Arabesque - Tom Ryder
For one thing, vi mode in Bash trips on the vi anti-pattern of putting you in insert mode by default, and at the...
Read more >An introduction to the vi editor | Enable Sysadmin
To enter Insert mode, press i . In Insert mode, you can enter text, use the Enter key to go to a new...
Read more >Chapter 9. The VI Input Mode
To enable the VI Input Mode for all new views, go to Settings → Configure KatePart...+Editing → VI Input Mode. On this tab...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you @srdubya - Much obliged!!
On Sun, Oct 1, 2017 at 8:13 AM, Jason Shirk notifications@github.com wrote:
@idvorkin - vi mode is in version 1.2 - included in Win10 or just follow the instructions for installing the latest version