summaryrefslogtreecommitdiff
path: root/frontends/etc/tmux.conf
blob: 0f4e306b73b2d64720de69d846dca9926bd1566b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set-option -g allow-rename off
set-option -g default-terminal "screen-256color"
set-option -g history-limit 100000
set-option -g status-bg '#444444'
set-option -g status-fg '#ffa500'

set-window-option -g mode-keys vi

bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

bind-key H resize-pane -L 5
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key L resize-pane -R 5

bind-key e run-shell -b "tmux display-message -p '#{pane_id}' > /tmp/tmux-edit-target-#{client_pid} \; tmux popup -E -w 90% -h 35% -x 5% -y 65% -d '#{pane_current_path}' \"~/scripts/tmux-edit-send /tmp/tmux-edit-target-#{client_pid}\""

bind-key b break-pane -d
bind-key c new-window -c '#{pane_current_path}'
bind-key p setw synchronize-panes off
bind-key P setw synchronize-panes on
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind-key T choose-tree