blob: a23dac92a0b9284071d57dc81029a4c6d0e9ea94 (
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
40
41
42
43
44
45
|
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 default-command /bin/zsh
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' prev
bind-key -n 'C-M-l' next
bind-key -n 'C-M-k' new-window
bind-key -n 'C-M-j' confirm-before -p "kill-window #W? (y/n)" kill-window
#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 "sh ~/.dotfiles/tmux/paste.sh"
set -g @plugin 'christoomey/vim-tmux-navigator'
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
run -b '~/.tmux/plugins/tpm/tpm'
|