Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update powerline configuration

  • Loading branch information...
commit 37f82441802cb7726952adb9e3396ca1bd607bbe 1 parent a02240a
@jceb authored
Showing with 18 additions and 14 deletions.
  1. +18 −14 patches/powerline_my_buffer_theme.patch
View
32 patches/powerline_my_buffer_theme.patch
@@ -1,7 +1,7 @@
Index: .vim/bundle/powerline/autoload/Powerline/Themes/default.vim
===================================================================
---- .vim.orig/bundle/powerline/autoload/Powerline/Themes/default.vim 2012-03-14 08:09:33.000000000 +0100
-+++ .vim/bundle/powerline/autoload/Powerline/Themes/default.vim 2012-03-14 08:11:43.000000000 +0100
+--- .vim.orig/bundle/powerline/autoload/Powerline/Themes/default.vim 2012-04-11 18:09:07.000000000 +0200
++++ .vim/bundle/powerline/autoload/Powerline/Themes/default.vim 2012-04-11 18:09:11.000000000 +0200
@@ -5,6 +5,7 @@
\ , 'fileinfo'
\ , 'syntastic:errors'
@@ -12,8 +12,8 @@ Index: .vim/bundle/powerline/autoload/Powerline/Themes/default.vim
\ , 'rvm:string'
Index: .vim/bundle/powerline/autoload/Powerline/Colorschemes/default.vim
===================================================================
---- .vim.orig/bundle/powerline/autoload/Powerline/Colorschemes/default.vim 2012-03-14 08:09:33.000000000 +0100
-+++ .vim/bundle/powerline/autoload/Powerline/Colorschemes/default.vim 2012-03-14 10:41:26.000000000 +0100
+--- .vim.orig/bundle/powerline/autoload/Powerline/Colorschemes/default.vim 2012-04-11 18:09:07.000000000 +0200
++++ .vim/bundle/powerline/autoload/Powerline/Colorschemes/default.vim 2012-04-11 18:14:46.000000000 +0200
@@ -66,6 +66,12 @@
\ 'i': ['white', 'darkblue', ['bold']],
\ }),
@@ -27,35 +27,39 @@ Index: .vim/bundle/powerline/autoload/Powerline/Colorschemes/default.vim
\ Pl#Hi#Segments(['static_str'], {
\ 'n': ['white', 'gray4'],
\ 'N': ['gray7', 'gray1'],
-@@ -78,7 +84,13 @@
+@@ -78,6 +84,18 @@
\ 'i': ['brightestred', ['bold']],
\ }),
\
-- \ Pl#Hi#Segments(['current_function', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], {
+ \ Pl#Hi#Segments(['warnings.bomb', 'warnings.paste', 'warnings.neol'], {
+ \ 'n': ['brightestred', ['bold']],
+ \ 'N': ['darkred'],
+ \ 'i': ['brightestred', ['bold']],
+ \ }),
+ \
-+ \ Pl#Hi#Segments(['current_function', 'warnings', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], {
++ \ Pl#Hi#Segments(['warnings'], {
++ \ 'n': ['gray8', 'gray2'],
++ \ 'N': ['white', 'gray0'],
++ \ 'i': ['mediumcyan', 'darkestblue'],
++ \ }),
++ \
+ \ Pl#Hi#Segments(['current_function', 'fileformat', 'fileencoding', 'pwd', 'filetype', 'rvm:string', 'rvm:statusline', 'virtualenv:statusline', 'charcode', 'currhigroup'], {
\ 'n': ['gray8', 'gray2'],
\ 'i': ['mediumcyan', 'darkestblue'],
- \ }),
Index: .vim/bundle/powerline/autoload/Powerline/Segments.vim
===================================================================
---- .vim.orig/bundle/powerline/autoload/Powerline/Segments.vim 2012-03-14 08:09:33.000000000 +0100
-+++ .vim/bundle/powerline/autoload/Powerline/Segments.vim 2012-03-14 10:40:48.000000000 +0100
+--- .vim.orig/bundle/powerline/autoload/Powerline/Segments.vim 2012-04-11 18:09:07.000000000 +0200
++++ .vim/bundle/powerline/autoload/Powerline/Segments.vim 2012-04-11 18:22:16.000000000 +0200
@@ -8,6 +8,12 @@
\ Pl#Segment#Create('name' , '%t'),
\ Pl#Segment#Create('flags.mod' , '%M'),
\ Pl#Segment#Create('flags.type' , '%H%W'),
-+ \ Pl#Segment#Create('alternate' , '%{expand("#:t")}'),
++ \ Pl#Segment#Create('alternate' , '%{expand("#:t")}', Pl#Segment#Modes('!N')),
+ \ ),
+ \ Pl#Segment#Create('warnings',
-+ \ Pl#Segment#Create('bomb' , '%{(&bomb == 1 ? "BOM(B)" : "")}'),
-+ \ Pl#Segment#Create('paste' , '%{(&paste == 1 ? "PASTE" : "")}'),
-+ \ Pl#Segment#Create('neol' , '%{(&eol == 0 ? "NOEOL" : "")}'),
++ \ Pl#Segment#Create('bomb' , '%{(&bomb == 1 ? "BOM(B)" : "")}', Pl#Segment#Modes('!N')),
++ \ Pl#Segment#Create('paste' , '%{(&paste == 1 ? "PASTE" : "")}', Pl#Segment#Modes('!N')),
++ \ Pl#Segment#Create('neol' , '%{(&eol == 0 ? "NOEOL" : "")}', Pl#Segment#Modes('!N')),
\ ),
\ Pl#Segment#Create('filename' , '%t'),
\ Pl#Segment#Create('filesize' , '%{Powerline#Functions#GetFilesize()}', Pl#Segment#Modes('!N')),
Please sign in to comment.
Something went wrong with that request. Please try again.