Is there a way to get vim keybindings in powershell as you would in bash or zsh with a command like
set -o vi
|
Is there a way to get vim keybindings in powershell as you would in bash or zsh with a command like
|
||||
|
|
|
PowerShell is a runtime environment that can be hosted in things other than the default windows console. This means that it's enirely possible to create a VI like container for PowerShell (as far as I know nobody has done this yet). However there are some other richer experiences out there:
Or help out the community and write your own: http://msdn.microsoft.com/en-us/library/ms714661(VS.85).aspx If I hear of a Vi style host I'll come back and update this answer. |
|||
|
|
|
I wouldn't swear that there isn't an undocumented feature of Powershell that allows this, but as far as I know the answer is no. At least I have never seen anything in Powershell documentation to suggest it's possible. JR |
|||
|
|
|
As it happens, you can load PowerShell syntax-highlighting into VIM. It's what I use for script development. http://www.vim.org/scripts/script.php?script_id=1327 While it isn't in the shell itself, it's handy for building longer scripts. I have one window in VIM, and have a PowerShell prompt in another. I find it very handy. |
|||
|
|