Using Vim in SSH session on Windows executor

If you need to debug an issue within a SSH session on the Windows executor, and need access to Vim, you will want to pass the -t flag when logging into the session, i.e.:

ssh -p 54782 35.123.111.145 -t -- powershell.exe

This will ensure the standard commands/shortcuts work with Vim. However, the backspace button will not remove text -- instead, use the ctrl+h command to remove text.

Was this article helpful?
0 out of 0 found this helpful