Add configuration for vim-obsession

Christian Brabandt 2016-02-03 12:09:50 +01:00
parent b5b674699b
commit fe2672c58c

@ -3,3 +3,9 @@ or describes special configurations.
Feel free to add your special configuration, if it fixes a need. Feel free to add your special configuration, if it fixes a need.
## Integration with [vim-obsession](https://github.com/tpope/vim-obsession)
Prepend a '$' when obsession is enabled ([origin](https://github.com/vim-airline/vim-airline/issues/777#issuecomment-113704356))
```viml
let g:airline_section_z = airline#section#create(['%{ObsessionStatus(''$'', '''')}', 'windowswap', '%3p%% ', 'linenr', ':%3v '])
```