[PATCH rhel7-branch] Tweak tmux configuration file

Brian C. Lane bcl at redhat.com
Tue Aug 11 21:48:58 UTC 2015


On Tue, Aug 11, 2015 at 10:50:52AM -0400, Chris Lumens wrote:
> From: Jiri Konecny <jkonecny at redhat.com>
> 
> Add information how to switch tabs and how to show help to the right
> side of the status line.
> Alt+Tab can be used to change windows(tabs) now.
> History is set to 10000 lines instead of 2000(default).
> 
> Resolves: rhbz#1238799
> ---
>  data/tmux.conf | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/data/tmux.conf b/data/tmux.conf
> index 80620ba..89f788b 100644
> --- a/data/tmux.conf
> +++ b/data/tmux.conf
> @@ -1,12 +1,16 @@
>  # tmux.conf for the anaconda environment
> +
> +bind -n M-tab next
> +bind -n F1 list-keys
> +
>  set-option -s exit-unattached off
>  set-option -g base-index 1
>  set-option -g set-remain-on-exit on
> +set-option -g history-limit 10000
>  
>  new-session -s anaconda -n main "anaconda"
>  
> -set-option status-right ""
> -set-option status-right-length 0
> +set-option status-right '#[fg=blue]#(echo -n "Switch tab: Alt+Tab | Help: F1 ")'
>  
>  new-window -d -n shell          "bash --login"
>  new-window -d -n log            "tail -F /tmp/anaconda.log"
> -- 
> 2.4.3

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list