From 4ad48b2e02f084f7aa1cabbfc0aaa706125f16b2 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 12 Mar 2013 18:10:03 -0400 Subject: 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. --- .gitmodules | 3 +++ .vimrc | 6 ++++-- bundle/powerline | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 160000 bundle/powerline 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 index 00000000..0a5a09db --- /dev/null +++ b/bundle/powerline @@ -0,0 +1 @@ +Subproject commit 0a5a09db122e483d4c0ea4b8a5869343a1e4955d -- cgit 1.4.1