I thought this would be a 10 second google search, but no. I found a bazillion sources how to disable cursor blinking in GVim. But I would like to disable it in terminal vim. My terminal cursor is set to no-blink globally already. It does not blink in any shell program. But it does in vim. How can I turn this off?

  • Hi, does setting this: let &t_EI .= "\<Esc>[2 q" solves your problem? – grodzik Aug 21 '18 at 21:44
  • No. But I noticed it happens when I run echo -e "\033c\e[3J" in the terminal inside vim (:terminal). I have that in an alias for clearing the screen (for real). It does not happen when I run that in my normal terminal. – lo tolmencre Aug 21 '18 at 23:24
  • Which terminal emulator are you using? And to be clear, you are talking about Vim blinking the cursor in the terminal buffer only (and not anywhere else)? – Martin Tournoij Aug 22 '18 at 10:57
  • no, it blinks in all buffers. It just gets triggered when entering said command in the terminal buffer. I am using guake. – lo tolmencre Aug 22 '18 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.