If I have set confirm, Vim will show a confirmation dialog if I attempt to quit Vim when there are unsaved changes:

Vim confirmation dialog

Which highlight group is responsible for the colors of the text in the confirmation dialog? I would like to change the foreground color to dark blue instead.

1 Answer 1


For some unknown reason it's :h hl-MoreMsg.

BTW. If you're unhappy with some colors it might be worth to give a try to a different color scheme, as there's a ton of them.

  • MoreMsg kind of makes sense, as it's an interactive prompt just as the MORE message is. I guess that the more message predated confirm(), so now it's misnamed. Commented Feb 2, 2021 at 12:36
  • @MartinTournoij Probably, yes. Though my first thought was "hl-Question" or such.
    – Matt
    Commented Feb 2, 2021 at 13: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.