aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-22 19:20:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-22 19:20:33 -0300
commit3e79be0a91bd4ca8e89a00bbdbb6fc782e6f26d4 (patch)
tree8af0ff398e52c42579712d917ac80b2c03d10558
parente2559a18bbba1def6c664fd9a5ce75f452d612d7 (diff)
downloadvim-3e79be0a91bd4ca8e89a00bbdbb6fc782e6f26d4.tar.gz
vim-3e79be0a91bd4ca8e89a00bbdbb6fc782e6f26d4.tar.bz2
Switch from vim-airline to powerline
-rw-r--r--.gitmodules3
-rw-r--r--gvimrc.dot.link7
m---------vim.dot.link/bundle/vim-airline0
-rw-r--r--vimrc.dot.link10
4 files changed, 14 insertions, 6 deletions
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
-Subproject 5a2daf6dfbd6e0df21612a20f95b4285ae8a260
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:.;/^-- $/d<CR>O-- <UP><End><CR><CR><UP><CR><C-O>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)