Skip to content

Instantly share code, notes, and snippets.

View cperl82's full-sized avatar

Chris Perl cperl82

View GitHub Profile
@cperl82
cperl82 / gist:1742684
Created February 5, 2012 04:22
Custom statusline for NERDTree with Powerline
diff --git a/autoload/Powerline/Matches.vim b/autoload/Powerline/Matches.vim
index 2244f57..98d9cde 100644
--- a/autoload/Powerline/Matches.vim
+++ b/autoload/Powerline/Matches.vim
@@ -2,6 +2,7 @@ let g:Powerline#Matches#matches = {
\ 'command_t' : Pl#Match#Add('bufname("%")', 'GoToFile'),
\ 'ft_help' : Pl#Match#Add('&ft' , 'help'),
\ 'ft_man' : Pl#Match#Add('&ft' , 'man'),
+ \ 'ft_nerdtree' : Pl#Match#Add('&ft' , 'nerdtree'),
\ 'ft_qf' : Pl#Match#Add('&ft' , 'qf'),