Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tmux command arg options #18

Merged
merged 5 commits into from
Mar 19, 2014
Merged

Add tmux command arg options #18

merged 5 commits into from
Mar 19, 2014

Conversation

ferreum
Copy link
Contributor

@ferreum ferreum commented Mar 19, 2014

This adds options to modify the tmux commands.

Defaults:

let g:tmux_complete_list_args = '-a'
Additional args for tmux list-panes.

let g:tmux_complete_capture_args = '-J'
Additional args for tmux capture-pane.

Examples:

let g:tmux_complete_list_args = '-s'
Only capture panes of active session.

let g:tmux_complete_list_args = ''
Only capture panes of active window.

let g:tmux_complete_capture_args = '-J -S -1024'
Join wrapped words and capture up to 1024 lines of scrollback.

@wellle
Copy link
Owner

wellle commented Mar 19, 2014

That looks like a good solution.

It even supports #14 as you can add -E and -S flags to g:tmux_complete_capture_args now.

Thank you!

wellle added a commit that referenced this pull request Mar 19, 2014
Add tmux command arg options
@wellle wellle merged commit c4153d8 into wellle:master Mar 19, 2014
@wellle
Copy link
Owner

wellle commented Mar 19, 2014

Alright, I merged #16, #17 and #18. Thank you for your contributions! 👍

@ferreum ferreum deleted the argoptions branch March 19, 2014 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants