转自:http://www.conanblog.me/notes/adjust-empathy-font-size-and-vim-cursor/
昨天做了两处地方的调整:Empathy的字体大小和vim的光标形状。
Empathy的字体大小
修改/usr/share/adium/message-styles/ubuntu.AdiumMessageStyle/Contents/Resources/main.css
文件里的.message
里的字号。如果有需要,可以把字体也换了。
Gnome Terminal下VIM的光标形状
默认下,不管是插入状态还是非插入状态,都是小方块,但是我更希望能看到插入时光标变成小竖线。这需要修改vimrc。没有这个文件就创建一个,一般在$HOME下建一个.vimrc就成了。里面添加5行代码:
if has("autocmd")
au InsertEnter * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
au InsertLeave * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape block"
au VimLeave * silent execute "!gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/cursor_shape ibeam"
endif