Created
October 14, 2014 16:47
-
-
Save hellekin/9786fdc14cd7a7dfacfa to your computer and use it in GitHub Desktop.
Sample tmux for the Dowse box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
## ~/.tmux.conf | |
# | |
## Act more like GNU screen | |
# Use C-a as command prefix, not C-b | |
set-option -g prefix C-a | |
bind-key C-a last-window | |
bind-key a send-prefix | |
# Resize according to window use, not session | |
setw -g aggressive-resize on | |
# Zero key is too far | |
set -g base-index 1 | |
# Repeat keys faster | |
set -s escape-time 0 | |
# Switch windows with Shift and arrows | |
bind -n S-down new-window | |
bind -n S-left prev | |
bind -n S-right next | |
bind -n C-left swap-window -t -1 | |
bind -n C-right swap-window -t +1 | |
# Status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-left " #[bold]#[fg=white]d#[fg=blue]o#[fg=white]wse " | |
set -g status-right "#[fg=green]#H " | |
# Highlight active window | |
set-window-option -g window-status-current-bg magenta | |
# Monitor activity | |
setw -g monitor-activity on | |
set -g visual-activity on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment