.tmux.conf (1280B)
1 # _ 2 # | |_ _ __ ___ _ ___ __ 3 # | __| '_ ` _ \| | | \ \/ / 4 # | |_| | | | | | |_| |> < 5 # \__|_| |_| |_|\__,_/_/\_\ 6 7 # Rebind prefix to C-a 8 unbind C-b 9 set -g prefix C-a 10 bind C-a send-prefix 11 12 # Use 256 colours 13 set -g default-terminal 'screen-256color' 14 15 # Start window index at 1 16 set -g base-index 1 17 setw -g pane-base-index 1 18 19 # Don't allow window renaming 20 set -g allow-rename off 21 22 # Automatically prompt to rename window on creation 23 set-hook -g after-new-window 'command-prompt -I "" "rename-window '%%'"' 24 25 # Status bar 26 set -g status-position top 27 set -g status-interval 1 28 set -g status-style bg=0 29 set -g status-right-style 'bg=colour240 fg=color16 bold' 30 set -g status-right ' #(battery)% #[bg=colour7] %H:%M:%S #[bg=colour240] %d-%b-%y ' 31 set -g status-left ' ' 32 set -g window-status-format ' #[fg=brightred bold]#I #[default fg=color16 bold]#W ' 33 set -g window-status-style 'bg=colour240 fg=color16' 34 set -g window-status-current-format ' #[fg=brightblue bold]#I #[default fg=color16 bold]#W ' 35 set -g window-status-current-style 'bg=colour240' 36 37 # Reload tmux.conf quickly 38 bind r source ~/.tmux.conf 39 40 # Split easier 41 unbind % 42 unbind \" 43 unbind s # Note this is normally choose-tree -Zs 44 bind s split-window -v 45 bind h split-window -h