[anaconda][master/f22-branch][PATCH] Tweak tmux configuration file

Vratislav Podzimek vpodzime at redhat.com
Wed Mar 18 07:18:01 UTC 2015


On Tue, 2015-03-17 at 16:20 +0100, Jiri Konecny wrote:
> 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).
> 
> Signed-off-by: Jiri Konecny <jkonecny at redhat.com>
> ---
>  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"
Wow, this is really nice! Thanks!

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list