今天刚刚升级至Ubuntu13.10,在终端打开gvim时提示一些出错信息,不是很雅观:
(gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(gvim:3572): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
临时的解决办法:
gvim ~/bin/gvim,输入以下内容保存:
#!/bin/bash -
/usr/bin/gvim --remote-tab-silent --disable-crash-dialog "$@" 2>/dev/null
gvim设置默认主题:http://www.linuxdiyf.com/linux/16353.html
fedora 22下的gvim可能有BUG:http://www.linuxdiyf.com/linux/12611.html
Ubuntu 15.04 gVim安装及设置:http://www.linuxdiyf.com/linux/9050.html
Fedora 14 Gvim菜单乱码:http://www.linuxdiyf.com/linux/8441.html