My color scheme has:

hi Cursor       ctermfg=black   ctermbg=red cterm=NONE

This is confirmed using hi Curosr:

Cursor         xxx ctermfg=0 ctermbg=1 guifg=black guibg=orange

However, I'm not getting the desired color in cygwin's mintty. When the cursor blinks, I get a white back ground with black letters (which is visible enough, since the surrounding text is white on blue). Unfortunately, it doesn't show up well with my CursorLine and CursorColumn colors. How can I troubleshoot the cause for my Cursor colors being ignored?

  • The cursor color is handled by your terminal emulator, not by Vim.
    – romainl
    Apr 4, 2016 at 6:04
  • OK, so does that mean the Cursor highlight group is not meaningful for mintty? Would this be the answer to the question? If so, it might be useful for you to enter it as an answer (just a suggestion). Apr 4, 2016 at 6:42
  • I navigated to the mintty options and checked what the foreground, background, and cursor colours were. Setting the cursor color there seems to work. Thanks. Again, feel free to enter your answer as an official answer. Apr 4, 2016 at 6:58

1 Answer 1


Playing with the Cursor highlight group is a waste of time because the cursor color is handled by your terminal emulator, not by Vim.

  • On Cygwin's mintty terminal, the terminal emulator parameters are accessed via the pulldown menu. Click on the Cygwin icon on the upper left corner of the terminal window and select Options.... Apr 4, 2016 at 11:58
  • 3
    What about the foreground text? Surely vim should know where the cursor is. Jun 2, 2018 at 6:52
  • So what is the Cursor highlight group for? Apr 9 at 11:18
  • @robertspierre, for the cursor, but in GUI Vim.
    – romainl
    Apr 9 at 11:42
  • @romainl what software is "GUI Vim"? Is it "gvim"? Apr 9 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.