diff --git a/Configuration-Examples-and-Snippets.md b/Configuration-Examples-and-Snippets.md index f109347..a9845dc 100644 --- a/Configuration-Examples-and-Snippets.md +++ b/Configuration-Examples-and-Snippets.md @@ -3,3 +3,9 @@ or describes special configurations. 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 ']) +``` \ No newline at end of file