Arrow keys don't work in Vim in Azure Cloud Shell #4589
Labels
Area-AzureShell
Workitems pertaining to the Azure Cloud Shell connection.
Area-Input
Related to input processing (key presses, mouse, etc.)
Area-VT
Virtual Terminal sequence support
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Tag-Fix
Doesn't match tag requirements
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Environment
Steps to reproduce
vim ./.bashrc
.E388: Couldn't find definition
.Expected behavior
Should be able to move the cursor with the arrow keys.
Actual behavior
Cannot move the cursor with the arrow keys and an error shows up with the left arrow key:
E388: Couldn't find definition
.echo $TERM
shows xterm-256colorWorkaround
In
~/.vimrc
, add:set term=builtin_ansi
and then the arrow keys start working in Vim.This issue seems only happen with Azure Cloud Shell. It doesn't happen with wsl.
The text was updated successfully, but these errors were encountered: