Skip to content

Conversation

gxmas
Copy link

@gxmas gxmas commented Nov 28, 2023

Make the cursor shape configurable via environment variables.

  • Set VICMD to set the cursor shape for cmd mode (defaults to beam).
  • Set VIINS to the the cursor shape for insert mode (defaults to block).

For example,

VICMD='\e[5 q'  # beam for command mode
VIINS='\e[1 q'  # block for insert mode
plug zap-zsh/vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant