Over SSH, vim configuration for cursor shape is not respected #12564

Open
opened 2026-01-31 03:18:55 +00:00 by claunia · 0 comments
Owner

Originally created by @Melandel on GitHub (Feb 13, 2021).

Environment

Windows build number: Microsoft Windows [Version 10.0.19041.804]
Windows Terminal version: 1.5.10411.0

Steps to reproduce

  • Open a powershell tab inside Windows Terminal
  • ssh another Windows machine
    • that has the latest vim version
    • and the following vim configuration content:
      let &t_ti.=" \e[1 q"
      let &t_SI.=" \e[5 q"
      let &t_EI.=" \e[1 q"
      let &t_te.=" \e[0 q"
    
  • run vim over ssh on that machine

Expected behavior

  • The vim configuration for cursor shape is respected, ie:
    • The cursor has a blinking box shape in Normal mode
    • The cursor has a blinking bar shape in Insert mode

Actual behavior

  • The vim configuration for cursor shape is not respected
  • Instead, the cursor always has the shape defined in local Windows Terminal's settings file

Additional note

  • The vim configuration is correctly respected if I use vim without ssh
Originally created by @Melandel on GitHub (Feb 13, 2021). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19041.804] Windows Terminal version: 1.5.10411.0 ``` # Steps to reproduce * Open a powershell tab inside Windows Terminal * `ssh` another Windows machine * that has the latest vim version * and the following vim configuration content: ``` let &t_ti.=" \e[1 q" let &t_SI.=" \e[5 q" let &t_EI.=" \e[1 q" let &t_te.=" \e[0 q" ``` * run `vim` over ssh on that machine # Expected behavior * The vim configuration for cursor shape **is** respected, ie: * The cursor has a blinking box shape in Normal mode * The cursor has a blinking bar shape in Insert mode # Actual behavior * The vim configuration for cursor shape is **not** respected * Instead, the cursor always has the shape defined in local Windows Terminal's settings file # Additional note * The vim configuration is correctly respected if I use vim without ssh
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12564