add g:tpipeline_usepane option #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First of all thanks so much for this plugin. Having two status bars per pane always bugged me.
This PR adds an option to use the vim statusline as the pane title.
I first tried by just embedding
#(cat #{socket_path}-\#{session_id}-vimbridge)
into thepane-border-format
option, but this didn't work out too well because it applied to every pane border. Luckily it wasn't too difficult to get the behaviour I was looking for! Here's an example with the default lightline-esque statusline as the pane title with the following options:It also works with a custom status line too (that can be colored in the pane-border-format):