Last active
September 28, 2017 03:04
-
-
Save snaka/1b23b394b5969a827872 to your computer and use it in GitHub Desktop.
vimとtmuxにpowerlineを導入する ref: http://qiita.com/snaka/items/c0c8760993f73780acbb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"================ | |
" NeoBundle | |
"================ | |
set nocompatible | |
filetype off | |
if has('vim_starting') | |
set runtimepath+=~/.vim/bundle/neobundle.vim | |
endif | |
" Initialize | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
" NoeBundle で NeoBundleを管理 | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
" originalrepos on github | |
NeoBundle 'Shougo/neobundle.vim' " <-もしかしたら不要 | |
NeoBundle 'Lokaltog/powerline', { 'rtp' : 'powerline/bindings/vim'} | |
call neobundle#end() | |
filetype plugin indent on " required! | |
" 起動時にインストールチェック | |
NeoBundleCheck |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 常にステータスラインを表示 | |
set laststatus=2 | |
" 256色対応? | |
set t_Co=254 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Powerline #### | |
source ~/.vim/bundle/powerline/powerline/bindings/tmux/powerline.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/powerline/fonts.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd fonts | |
$ ./install.sh | |
Copying fonts... | |
Powerline fonts installed to /Users/nakamatsu/Library/Fonts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment