# Use a larger window history, in lines.
set-option -g history-limit 10000
+# Display messages for three seconds.
+set-option -g display-time 3000
+
# TERMINAL
# Current load average and hostname on the right.
set-option -g status-right "#(uptime | cut -d: -f5- | tr -d ,) #H"
+# Format for windows in the window list in the status line. #I window index,
+# #W window number, #F window flags.
+set-window-option -g window-status-format "#I #W#F"
+set-window-option -g window-status-current-format "#I #W#F"
+
# BINDINGS
# GNU screen like bindings (with C-x).
bind-key C-c new-window
bind-key C-a last-window
-# Switch to next/previos window, like in GNU screen.
bind-key C-n next-window
bind-key C-p previous-window
bind-key C-[ copy-mode
bind-key C-] paste-buffer
+# Arrow-key replacements for tmux's prompt.
+bind-key -t vi-edit C-n history-down
+bind-key -t vi-edit C-p history-up
+
# vim: ft=tmux