Using Vim in SSH session on Windows executor

If you need to debug an issue within an 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 <port> <ip> -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?
3 out of 3 found this helpful



Article is closed for comments.