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

Jiri Konecny jkonecny at redhat.com
Tue Mar 17 15:20:46 UTC 2015


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"
-- 
2.1.0



More information about the anaconda-patches mailing list