ANSIサポート(256色対応) Vim

 if (has('win32') && !has('gui_running') && $ConEmuANSI == 'ON')
    set term=xterm
    set t_Co=256
    let &t_AB="\e[48;5;%dm"
    let &t_AF="\e[38;5;%dm"
 endif
  • .vimrcを上のようにする。

参考

http://stackoverflow.com/questions/20034851/vim-encoding-unicode-in-terminal-under-windows/25073399#25073399


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2017-01-08 (日) 14:14:14