Skip to content

Instantly share code, notes, and snippets.

@snaka
Last active September 28, 2017 03:04
Show Gist options
  • Save snaka/1b23b394b5969a827872 to your computer and use it in GitHub Desktop.
Save snaka/1b23b394b5969a827872 to your computer and use it in GitHub Desktop.
vimとtmuxにpowerlineを導入する ref: http://qiita.com/snaka/items/c0c8760993f73780acbb
"================
" 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
" 常にステータスラインを表示
set laststatus=2
" 256色対応?
set t_Co=254
#### Powerline ####
source ~/.vim/bundle/powerline/powerline/bindings/tmux/powerline.conf
$ git clone https://github.com/powerline/fonts.git
$ 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