summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-03-12 18:10:03 -0400
committerJune McEnroe <june@causal.agency>2013-03-12 18:10:03 -0400
commit56714bae86092ff1af5f5838686da2286d3ad2ca (patch)
tree4d96d3369550044936b49776ffda451f14ad1360
parentRemove vim-powerline (diff)
downloadsrc-56714bae86092ff1af5f5838686da2286d3ad2ca.tar.gz
src-56714bae86092ff1af5f5838686da2286d3ad2ca.zip
Switch to powerline
Which I'm not going to bother configuring because it thinks it's all
fancy and for other things that aren't Vim so it stores its config file
in ~/.config which I keep in a different repo and I only want to use it
for Vim so fuck you, Powerline. </rant>
-rw-r--r--.gitmodules3
-rw-r--r--.vimrc6
m---------bundle/powerline0
3 files changed, 7 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 20d70b82..159a24ab 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -64,3 +64,6 @@
 [submodule "bundle/base16-vim"]
 	path = bundle/base16-vim
 	url = https://github.com/chriskempson/base16-vim.git
+[submodule "bundle/powerline"]
+	path = bundle/powerline
+	url = https://github.com/Lokaltog/powerline.git
diff --git a/.vimrc b/.vimrc
index 72b63d23..7177f401 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,9 +1,12 @@
-set nocp " No child-porn here :P
+set nocp
 
 " Load pathogen
 runtime bundle/vim-pathogen/autoload/pathogen.vim
 call pathogen#infect()
 
+" Load powerline
+set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
+
 " Remap leader to ,
 noremap \ ,
 let mapleader = ","
@@ -50,7 +53,6 @@ set guioptions-=mrLtT " Disable menus, toolbar, scrollbars
 set guioptions+=c " Disable GUI dialogs
 set guifont=Monospace\ 9
 set browsedir=buffer " Open dialog starts in working directory
-let g:Powerline_symbols = 'fancy'
 
 " Jump to the last cursor position when opening
 au BufReadPost * if &filetype !~ '^git\c' && line("'\"") > 0 && line("'\"") <= line("$")
diff --git a/bundle/powerline b/bundle/powerline
new file mode 160000
+Subproject 0a5a09db122e483d4c0ea4b8a5869343a1e4955