aboutsummaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: 9eec3eb582eb9af77457e2842e04559fc1374640 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
set -g default-command "fish"

set -g escape-time 0

set -g prefix C-a
bind C-a send-prefix
unbind C-b

set -g set-clipboard on

setw -g base-index 1

setw -g mode-keys vi

set -g default-terminal "screen-256color"

set -g mouse on

bind-key -n 'C-M-Left'      prev
bind-key -n 'C-M-Right'     next
bind-key -n 'C-M-Up'        new-window
bind-key -n 'C-M-Down'      confirm-before -p "kill-window #W? (y/n)" kill-window

bind-key -n 'C-M-h'         select-pane -L
bind-key -n 'C-M-l'         select-pane -R
bind-key -n 'C-M-k'         select-pane -U
bind-key -n 'C-M-j'         select-pane -D
#bind-key -n 'C-M-\\'        split-window -h
#bind-key -n 'C-M-\-'        split-window
bind-key -n 'C-M-x'         confirm-before -p "kill-pane #P? (y/n)" kill-pane


set -g status-style "fg=black,bg=colour34"
bind-key 'Up' select-pane -P 'fg=white,bg=black'
bind-key 'Down' select-pane -P 'fg=black,bg=white'


bind-key ] run "xclip -o -selection clipboard | tmux load-buffer - && tmux paste-buffer"