1
0
Fork 0
vdotfiles/tmux.conf

50 lines
1.7 KiB
Text
Raw Normal View History

unbind C-b
bind C-g send-prefix
2018-07-14 14:55:12 +03:00
bind v split-window -h
bind s split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind p command-prompt -p "ssh:" "new-window 's %%'"
bind t command-prompt -p "attach pane to:" "join-pane -t '%%'"
bind y command-prompt break-pane
bind N new-session
2014-10-20 13:24:39 +03:00
bind -n M-w next-window
bind -n M-q previous-window
2018-06-28 14:53:04 +03:00
set -g prefix C-g
set -g mode-keys "vi"
2016-04-28 15:44:37 +03:00
set -g escape-time "0"
set -g history-limit "10000"
# newer options, not universally compatible
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
bind r display "resize" \; switch-client -T resize
bind -T resize -r h resize-pane -L 5
bind -T resize -r j resize-pane -D 5
bind -T resize -r k resize-pane -U 5
bind -T resize -r l resize-pane -R 5
# styling, new incompatible format
set -g set-titles "on"
set -g set-titles-string "[#h:#S] #W"
set -g automatic-rename on
set -g automatic-rename-format "#T"
set -g pane-border-status "off"
set -g pane-border-style "fg=colour11"
set -g pane-active-border-style "fg=colour4"
set -g message-style "bg=colour4,fg=colour7"
set -g message-command-style "bg=colour1,fg=colour7"
set -g status on
set -g status-style "bg=default,fg=default"
set -g status-format[0] "#[bg=colour4,fg=colour7] #h[#S] #[default]#{W: #I:#W ,#[reverse] #I:#W #[default]}#[align=right]#[fg=colour7,bg=colour2] %a %e %k:%M "
set -g status-interval 2
2016-09-23 16:27:41 +03:00
set -g status-position "bottom"
2016-12-06 13:31:02 +02:00
set -g status-justify "left"
2014-10-13 02:20:24 +03:00
set -g status-left-length "100"
set -g status-right-length "100"
# relevant to local only
set -g terminal-overrides "alacritty:Tc,kitty-xterm:Tc,xterm-256color:Tc"
set -g default-terminal "tmux-256color"