2014年1月30日 星期四

Vim在UTF8 screen下亂碼解決辦法

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"
以上兩行等價

沒有留言:

張貼留言