116 lines
2.1 KiB
Bash
116 lines
2.1 KiB
Bash
# Misc
|
|
set -g bell-action none
|
|
set -g default-terminal screen-256color
|
|
set -g display-time 1000
|
|
set -g mouse on
|
|
|
|
# Limits
|
|
set -g buffer-limit 10000
|
|
set -g history-limit 10000
|
|
|
|
# Colours & Texts
|
|
set -g display-panes-active-colour colour250
|
|
set -g display-panes-colour cyan
|
|
# Statusbar
|
|
set -g status on
|
|
set -g status-bg black
|
|
set -g status-fg colour244
|
|
set -g status-interval 5
|
|
set -g status-justify centre
|
|
set -g status-left "#[fg=cyan]#H #[fg=default]|"
|
|
set -g status-left-length 30
|
|
set -g status-right "|#[fg=cyan] %a %d.%m.%y %H:%M"
|
|
set -g status-right-length 65
|
|
|
|
# Window
|
|
setw -g aggressive-resize off
|
|
setw -g mode-keys vi
|
|
|
|
# Keys
|
|
set -g prefix C-a
|
|
unbind C-b
|
|
unbind C-o
|
|
unbind !
|
|
unbind '"'
|
|
unbind '#'
|
|
unbind %
|
|
unbind &
|
|
unbind ,
|
|
unbind "'"
|
|
unbind -
|
|
unbind .
|
|
unbind =
|
|
unbind D
|
|
unbind [
|
|
unbind ]
|
|
unbind c
|
|
unbind f
|
|
unbind i
|
|
unbind l
|
|
unbind n
|
|
unbind o
|
|
unbind p
|
|
unbind q
|
|
unbind s
|
|
unbind t
|
|
unbind w
|
|
unbind x
|
|
unbind NPage
|
|
unbind PPage
|
|
unbind Up
|
|
unbind Down
|
|
unbind Left
|
|
unbind Right
|
|
unbind M-1
|
|
unbind M-2
|
|
unbind M-3
|
|
unbind M-4
|
|
unbind M-5
|
|
unbind M-n
|
|
unbind M-o
|
|
unbind M-p
|
|
unbind C-Up
|
|
unbind C-Down
|
|
unbind C-Left
|
|
unbind C-Right
|
|
unbind M-Up
|
|
unbind M-Down
|
|
unbind M-Left
|
|
unbind M-Right
|
|
unbind Space
|
|
bind C-K confirm kill-server
|
|
bind C-S confirm kill-session
|
|
bind C-P confirm kill-pane
|
|
bind C-W confirm kill-window
|
|
bind s new-session
|
|
bind w new-window
|
|
bind p split-window -h -p 40
|
|
bind P split-window -v -p 40
|
|
bind M show-messages
|
|
bind b break-pane
|
|
bind C choose-client
|
|
bind S choose-session
|
|
bind W choose-window
|
|
bind M-w command-prompt "rename-window %%"
|
|
bind M-s command-prompt "rename-session %%"
|
|
bind M-Right resize-pane -R 5
|
|
bind M-Left resize-pane -L 5
|
|
bind M-Up resize-pane -U 5
|
|
bind M-Down resize-pane -D 5
|
|
bind Down select-pane -D
|
|
bind Up select-pane -U
|
|
bind Left select-pane -L
|
|
bind Right select-pane -R
|
|
bind / command-prompt "find-window %%"
|
|
bind R rotate-window
|
|
bind y copy-mode
|
|
bind i choose-buffer "paste-buffer -b %%"
|
|
bind I show-buffer
|
|
bind ^A last-window
|
|
bind C-q send-prefix
|
|
bind M-a set-window-option synchronize-panes
|
|
bind C-l select-layout tiled
|
|
bind C-h select-layout even-horizontal
|
|
bind C-v select-layout even-vertical
|
|
# start programs on startup
|
|
|