You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/tmux.conf

55 lines
1.4 KiB

11 years ago
# ncurses not polluting scroll history
set -g alternate-screen on
# dont respect smaller windows
setw -g aggressive-resize on
11 years ago
# command prefix
unbind C-b
set -g prefix C-a
11 years ago
bind a send-prefix
bind-key C-a last-window
11 years ago
# new window with current pwd
bind c new-window -c "#{pane_current_path}"
11 years ago
# basic settings
4 years ago
set -g history-limit 3000
11 years ago
set-option -g default-shell /usr/bin/zsh
5 years ago
# set-window-option -g utf8 on
set -g base-index 1
11 years ago
# escape mode
unbind [
bind Escape copy-mode
11 years ago
set -s escape-time 0
11 years ago
# fixes redraw bugs
set -g default-terminal screen-256color
11 years ago
# window title
set-option -g set-titles on
set-option -g set-titles-string '[#H]: #W'
11 years ago
set-window-option -g automatic-rename on
11 years ago
# no visual activity
11 years ago
setw -g monitor-activity off
set -g visual-activity on
11 years ago
set -g visual-bell off
# status bar
5 years ago
# set-option -g status-utf8 on
11 years ago
set-option -g status-justify left
set-option -g status-bg black
set-option -g status-fg cyan
set-option -g status-interval 5
set-option -g status-left-length 0
set-option -g status-right-length 80
11 years ago
set-option -g status-left ''
set-option -g status-right '#[fg=blue,bold]#H #[fg=green,bold]|#[fg=black,bold]#(uptime | rev | cut -d":" -f1 | rev | sed s/,//g ) #[fg=green,bold]| #[fg=blue,bold]%d.%m.%y %H:%M'
4 years ago
set -g window-status-current-style bg=black,fg=green
11 years ago
# clock
set-window-option -g clock-mode-colour cyan
set-window-option -g clock-mode-style 24