Commits

j committed 1679e09

Add Powerline vim plugin

Comments (0)

Files changed (2)

 if has("gui_macvim")
 
   set fuoptions=maxvert,maxhorz " fullscreen options (MacVim only), resized window when changed to fullscreen
-  set guifont=Monaco:h13
+    set guifont=Menlo\ Regular\ for\ Powerline:h12
   set guioptions-=T  " remove toolbar
   set stal=2 " turn on tabs by default
 
 
 " Status Line *****************************************************************
 set showcmd
+set laststatus=2   " Always show the statusline
 set ruler " Show ruler
-match LongLineWarning '\%120v.*' " Error format when a line is longer than 120
+set encoding=utf-8 " Necessary to show unicode glyphs
+"match LongLineWarning '\%120v.*' " Error format when a line is longer than 120
 
 
 " Line Wrapping ***************************************************************
 Bundle 'gmarik/vundle'
 Bundle 'scrooloose/nerdtree'
 Bundle 'scrooloose/nerdcommenter'
+Bundle 'Lokaltog/vim-powerline'
 
 
 " -----------------------------------------------------------------------------  
 " |                          Plug-in Configuration                            |
 " -----------------------------------------------------------------------------  
 
+" Powerline *******************************************************************
+let g:Powerline_symbols = 'fancy'
+
+
 " NERDTree ********************************************************************
 :noremap <Leader>n :NERDTreeToggle<CR>
 let NERDTreeHijackNetrw=1 " User instead of Netrw when doing an edit /foobar