Add the code below into your ~/.vimrc
if &term =~ "xterm" "256 color -- let &t_Co=256 " restore screen after quitting set t_ti=ESC7ESC[rESC[?47h t_te=ESC[?47lESC8 if has("terminfo") let &t_Sf="\ESC[3%p1%dm" let &t_Sb="\ESC[4%p1%dm" else let &t_Sf="\ESC[3%dm" let &t_Sb="\ESC[4%dm" endif endif colorscheme My_Color_Scheme
learned from: http://vim.wikia.com/wiki/Using_vim_color_schemes_with_Putty, and you can also check http://www.vimninjas.com/2012/08/26/10-vim-color-schemes-you-need-to-own/
댓글 없음:
댓글 쓰기