sprsquish/vim-powerline — comment on commit 8520c6ea0d6854939afa07e80f5fc2f2797dcc98
File:  line 0
By Lokaltog:

You could just add the following to your vimrc instead of forking and editing the source code:

call Pl#Theme#RemoveSegment('fileformat')
call Pl#Theme#RemoveSegment('fileencoding')
call Pl#Theme#RemoveSegment('scrollpercent')
call Pl#Theme#RemoveSegment('lineinfo')