Ver Fonte

add new powerline unified plugin, add it to vim

Weiyi Lou há 13 anos atrás
pai
commit
523c1e811a
3 ficheiros alterados com 5 adições e 5 exclusões
  1. 3 0
      .gitmodules
  2. 1 0
      powerline
  3. 1 5
      vim/vimrc

+ 3 - 0
.gitmodules

@@ -64,3 +64,6 @@
 [submodule "vim/bundle/ctrlp"]
 	path = vim/bundle/ctrlp
 	url = https://github.com/kien/ctrlp.vim.git
+[submodule "powerline"]
+	path = powerline
+	url = https://github.com/Lokaltog/powerline.git

+ 1 - 0
powerline

@@ -0,0 +1 @@
+Subproject commit 20639494c04bba2cc7611f4b893f414bd3bee370

+ 1 - 5
vim/vimrc

@@ -60,10 +60,6 @@ if has("autocmd")
   " Source the vimrc file after saving it
   autocmd BufWritePost .vimrc source $MYVIMRC
 
-  " Reload Powerline colours after source
-  " https://github.com/Lokaltog/vim-powerline/issues/28
-  autocmd BufWritePost .vimrc call Pl#Load()
-
   " Local remaps for Quickfix buffer
   autocmd FileType qf nnoremap <silent> <buffer> q :ccl<CR>:lcl<CR>
   autocmd FileType qf nnoremap <silent> <buffer> o <CR>
@@ -275,7 +271,7 @@ let g:gundo_preview_bottom = 1
 
 
 """"""""" Powerline
-let g:Powerline_symbols = 'fancy' " alternatives: fancy, unicode
+set rtp+=~/dotfiles/powerline/powerline/bindings/vim
 
 
 """"""""" Tagbar