From: Silvio Rhatto Date: Wed, 22 Jul 2015 22:20:33 +0000 (-0300) Subject: Switch from vim-airline to powerline X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3e79be0a91bd4ca8e89a00bbdbb6fc782e6f26d4;p=rhatto%2Fdotfiles%2Fvim.git Switch from vim-airline to powerline --- diff --git a/.gitmodules b/.gitmodules index 38605b9..8c5dbc4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -40,9 +40,6 @@ [submodule "vim.dot.link/bundle/colorschemes"] path = vim.dot.link/bundle/colorschemes url = https://github.com/flazz/vim-colorschemes -[submodule "vim.dot.link/bundle/vim-airline"] - path = vim.dot.link/bundle/vim-airline - url = https://github.com/bling/vim-airline [submodule "vim.dot.link/bundle/vim-fugitive"] path = vim.dot.link/bundle/vim-fugitive url = https://github.com/tpope/vim-fugitive.git diff --git a/gvimrc.dot.link b/gvimrc.dot.link index 3870a2d..6608dfc 100644 --- a/gvimrc.dot.link +++ b/gvimrc.dot.link @@ -28,3 +28,10 @@ set t_Co=256 " Color scheme "colorscheme solarized colorscheme xoria256 + +" Powerline +set showtabline=1 " Do not display the tabline if there's just one tab +let g:Powerline_symbols='fancy' +python from powerline.vim import setup as powerline_setup +python powerline_setup() +python del powerline_setup diff --git a/vim.dot.link/bundle/vim-airline b/vim.dot.link/bundle/vim-airline deleted file mode 160000 index 5a2daf6..0000000 --- a/vim.dot.link/bundle/vim-airline +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5a2daf6dfbd6e0df21612a20f95b4285ae8a2603 diff --git a/vimrc.dot.link b/vimrc.dot.link index 45f1837..66c9602 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -161,6 +161,10 @@ noremap ,dd zi:.;/^-- $/dO-- zi colorscheme xoria256 " Powerline -"python from powerline.vim import setup as powerline_setup -"python powerline_setup() -"python del powerline_setup +python from powerline.vim import setup as powerline_setup +python powerline_setup() +python del powerline_setup + +set laststatus=2 " Always display the statusline in all windows +set showtabline=2 " Always display the tabline, even if there is only one tab +set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)