Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Vim warning style in gVim

Tags:

vim

gtk

When for example an edited file is changed outside of Vim, Vim issues a warning and offers to reload the file. In command line Vim a green text on the bottom appears, but in gVim there is a GTK+ popup window instead. I like Vim behaviour more, and I'd like to have it in gVim as well, how can I change that?

like image 861
Marek Sapota Avatar asked Nov 16 '10 11:11

Marek Sapota


1 Answers

There is an option to enable that behavior in the GUI version of Vim. If c is set in guioptions, console-like dialogs are used instead of graphical popup ones.

:set guioptions+=c
like image 65
ib. Avatar answered Sep 22 '22 02:09

ib.