2014年1月30日 星期四

1.
http://marc-abramowitz.com/archives/2011/12/14/vim-screen-corruption-with-screentmux-and-matchparen-vim/
Vim在UTF8 screen下,刪除字母的時候視窗會產生如亂碼般的錯誤,是由matchparen plugin導致的
關閉matchparen plugin的方法就是在.vimrc加入底下這行:
let loaded_matchparen = 1


2.
http://www.adp-gmbh.ch/vim/let_vs_set.html
vim的set和let的差別:
:set  guifont=Lucida_Console:h9:cANSI
:let &guifont="Lucida_Console:h9:cANSI"
以上兩行等價

2014年1月23日 星期四

GNU screen

screen使用入門:
http://gnailuy.com/2011/07/23/gnu-screen%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8/
http://blog.longwin.com.tw/2005/11/screen_teach_for_use/

給screen下指令的方式:
bound to a key, invoked from a screenrc file, or called from the colon prompt
http://www.math.utah.edu/docs/info/screen_4.html#SEC4

screen畫面會閃爍的原因:visual bell

screen支援utf8的方法:
screen -U
(在existing session下執行這個指令沒用。This does not work when attaching to an existing session, you need to start a new session.)