在终端下面打开gvim会出现下面的错误:GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised看起来会不舒服,可一在 .bashrc下面做个alias 规避错误提示在 ~/.basrc下面添加一条alias:alias gvim='gvim 2>/dev/null'解决!