- 追加された行はこの色です。
- 削除された行はこの色です。
* ConEmu ANSIサポート(256色対応) [#u9f3fb82]
** Vim [#zcb55096]
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
- ConEmuはデフォルトで256色対応している。
-- http://conemu.github.io/en/Settings.html#Features
- PowerShell/CMDで256色対応を確認するには以下のように付属プログラムのAnsiColors256.ansを実行する。
- ConEmuをインストールしたパスに合わせること。
*** 参考 [#m8634c48]
http://stackoverflow.com/questions/20034851/vim-encoding-unicode-in-terminal-under-windows/25073399#25073399
cmd /c type "C:\Program Files\ConEmu\ConEmu\Addons\AnsiColors256.ans"
cmd /c type "C:\App\ConEmu\ConEmu\Addons\AnsiColors256.ans"
** 参考 [#bdefbcc8]
http://conemu.github.io/en/AnsiEscapeCodes.html