vim colorschemeè¨å®ãmolokai
macã®ã¿ã¼ããã«vimããããã«ãããï¼è¦ãç®ï¼ã¨æãç«ã¤ãã«ã©ã¼ã¹ãã¼ãã®è¨å®ã
å¿
è¦ãªä½æ¥ã¯
~/.vim/colors/*.vimã®ãã¡ã¤ã«é ç½®
ãã¼ã ãã£ã¬ã¯ããªé ä¸ã«~/.vim/colors/ãä½æãã
# mkdir ~/.vim # cd ~/.vim # mkdir colors
ã¨ã£ã¦ãã¾ã
# git clone https://github.com/tomasr/molokai
ãã¶ãã«ã¬ã³ããã£ã¬ã¯ããªã«åºæ¥ã
å¿ è¦ãªãã£ã¬ã¯ããªã«æã£ã¦ãã¾ã
# mv molokai/colors/molokai.vim ~/.vim/colors/
.vimrcã®ç·¨é
.vimrcãç·¨éãã¾ã
# vim .vimrc
"ã«ã©ã¼ã¹ãã¼ããè¨å® colorscheme molokai syntax on let g:molokai_original = 1 let g:rehash256 = 1 set background=dark
ããã§vimã«åæ ãããã¯ãã
ãã®ã¸ãã¯githubã®æç« ãåèã«ãlet gã®2è¡ã¯æå®ãã¦ãå¤åãªãã£ãæ°ããããã©ãã¾ããããã¨ã«ããããããªè²ãã¤ããã
ããã©ã«ãã®ã«ã©ã¼ã¹ãã¼ãã¯/usr/share/vim/vim73/colorsã«*.vimãã¡ã¤ã«ãåå¨ããã