How to remove a segment in vim Powerline?
I'm using [vim Powerline](https://github.com/Lokaltog/vim-powerline/), it comes by default with quite a few segments in the powerline. More than I want.

I'd like to remove several of the default ones. Specifically, the one that tells me my git branch, the file encoding, the source language, the line/col number, the one that says unix (probably line ends).

In the [docs](https://github.com/Lokaltog/vim-powerline/blob/f0caee81697fd0021c82caee61265fdc3ae191de/doc/Powerline.txt#L272), they say you should be able to use Pl#Theme#RemoveSegment.

So I added `call Pl#Theme#RemoveSegment('figitive')` to my ~/.vimrc, and then ran `:PowerlineClearCache` and reloaded the file, but the git branch is still there. Perhaps I'm getting the name wrong, I guessed that this is the one that enters my git branch based on the naming from [here](https://github.com/Lokaltog/vim-powerline/blob/c4b72c5be57b165bb6a89d0b8a974fe62c0091d0/autoload/Powerline/Segments/fugitive.vim#L1).

If there's a way to reflect on some variable and see what segments are registered, that would be useful, but I can't tell if I'm getting the name wrong, or invoking the method incorrectly, or what.
How to remove a segment in vim Powerline?
===

I'm using [vim Powerline](https://github.com/Lokaltog/vim-powerline/), it comes by default with quite a few segments in the powerline. More than I want.

I'd like to remove several of the default ones. Specifically, the one that tells me my git branch, the file encoding, the source language, the line/col number, the one that says unix (probably line ends).

In the [docs](https://github.com/Lokaltog/vim-powerline/blob/f0caee81697fd0021c82caee61265fdc3ae191de/doc/Powerline.txt#L272), they say you should be able to use Pl#Theme#RemoveSegment.

So I added `call Pl#Theme#RemoveSegment('figitive')` to my ~/.vimrc, and then ran `:PowerlineClearCache` and reloaded the file, but the git branch is still there. Perhaps I'm getting the name wrong, I guessed that this is the one that enters my git branch based on the naming from [here](https://github.com/Lokaltog/vim-powerline/blob/c4b72c5be57b165bb6a89d0b8a974fe62c0091d0/autoload/Powerline/Segments/fugitive.vim#L1).

If there's a way to reflect on some variable and see what segments are registered, that would be useful, but I can't tell if I'm getting the name wrong, or invoking the method incorrectly, or what.