ããã«ã¡ã¯ãããã£ãºã人éã§ãã
powerline 使ã£ã¦ã¿ããã¨æã£ã¦ããã©
ã»å
¨é¨ã®ç°å¢ã§fontã«ãããå½ã¦ããããããããªãã®ã§æ©ã¾ããã
ã»ãããªãã¨ããå°æ£æãããï¼
ã¨ãããããªæãã§è
°ãéãã¦çµå±ä½¿ã£ã¦ãªãã£ãã
æè¿powerlineã¨åããããªãã¤ã§vim-airlineã£ã¦ããã®ããããã¨ãç¥ã£ã¦ãè©å¤ãè¯ãããã ã£ãã®ã§ä½¿ã£ã¦ã¿ããã¨ã«ããã
bling/vim-airline · GitHub
powerlineã¨vim-airlineã®éããããªã«åãã£ã¦ãªããã©ãvim-airlineã¯ç´ç²ãªvim scriptã§æ¸ããã¦ãã¨ã(powerlineã¯python?)ãªããèªã¿è¾¼ã¿ãéããããã¨ãUnite.vimã®è²ä»ããè¯ãæãã«ãªãã¨ãããããã§ãã
ã§vim-airlineå ¥ãã¦ã¿ããã©è¶ ãã£ã¡ãããã¹ãã¼ã¿ã¹ã©ã¤ã³è¡¨ç¤ºã«ãªãã¾ã§è²ã ãã£ãã
æ¢åã®è¨å®ã¨ã¶ã¤ããã¨ã
vim-airlineãã¤ã³ã¹ãã¼ã«ããç´å¾
èªåã§statuslineã®è¨å®ã¨ãæ¸ãã¦ãã®ã§ãã£ã¡ãåªå ããã¦ã(?)ã£ã½ãã¦ç¹ã«å¤åãªãã
set statusline+=%=\ %{g:HahHah()}\ %m%r%h%w%y%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}\ %l,%c%V%8P
ãæ¶ãã¦ãã㨠buftabs ã£ã¦ãããããã¡ã§éãã¦ããã¡ã¤ã«åãstatuslineã«è¡¨ç¤ºããããã®pluginã使ã£ã¦ãã®ã§ãããå¤ããã
256è²
ããã¾ã§ã§
ãããè²ã»ã»ã»ã£ã¦ç¶æ
ã
è²ã
調ã¹ã¦ããããã¤ãè¨åããã¦ã
Themes don't work for me · Issue #26 · bling/vim-airline · GitHub
Set t_Co=256 forcely by mattn · Pull Request #112 · bling/vim-airline · GitHub
ã§èªåã®ç°å¢ã®ã :set t_Co ã§ã¿ã¦ã¿ã㨠t_Co=8 ã ã£ãã®ã§ãã¡ããã©ããã .vimrc ã« set t_Co=256 ã追å ãããcolorschemeã®è¨å®ã®åã«æ¸ããªãã¨ãããªã¿ãããªã®ãã¿ããã©éã«ãã®å¾ãã«æ¸ããªãã¨èªåã®ç°å¢ã ã¨ãã¡ã ã£ããããããããªãã
Vim-users.jp - Hack #64: 256色ターミナルでVimを使用する
set t_Co=256 ããããã¨
ãã¼ãã«ã©ãï½ã»ã»ã»ããï¼ãªããéãï¼
ãµã³ãã«ã«ãããããªãã£ã¡ãããè²ä½¿ããããªããªããå¾®å¦ãªè²ãthemeãéããããªã¨æã£ã¦å
¨é¨è©¦ãã¦ã¿ããã©ã©ããä½ãéãããããã£ã¦ãªã£ãã
ç°å¢ã¨ãã¦ã¯screen + iTerm2使ã£ã¦ã¦ãiTerm2ã®è¨å®ã§ Profiles->Terminal:Report Terminal Type ã xterm-256 ãããªã㦠xterm ã«ãªã£ã¦ãããã£ã¨ã¾ãã« xterm-256 ã¨ãã«ãããããªè¨æ¶ãã£ãã®ã« xterm ã®ã¾ã¾ã ã£ãã
ãããxterm-256ã«ããã¨
ãã¼ããããããï¼
ã§å®å¿ããã®ãæã®éã§ãã¼ã«ã«ã®macã§åãããã«ãããã¨ããã¨ãã¾ãå¾®å¦ãªè²ä½¿ãã«æ»ã£ã¦ãã¾ã£ãã
macã§ä½¿ã£ã¦ãscreenã256è²å¯¾å¿ãã¦ãªãæãã ã£ãã®ã§256è²å¯¾å¿ããããã«ãã¦makeãããè¯ãæãã«ãªã£ãã
æçµçã«
buftabsã®ãããã«vim-bufferlineã使ãããã«ãã¦ãã¤ãã§ã«vim-fugitiveãå
¥ããã
fontãã¡ããã¨ããã°ãã£ã¨ãã£ã¡ããããªãã¨æãã¾ãã