-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
62 lines (46 loc) · 1.59 KB
/
.tmux.conf
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
set -g detach-on-destroy off
set -sg escape-time 0
set -g base-index 1
set -g status-interval 1
setw -g automatic-rename on
set-option -g set-titles on
set -g status-position top
set -g status-justify centre
set -g status-right ""
set -g status-right-style "fg=#665c54"
set -g status-left-length 100
set -g status-left " 🐸 #(whoami) #[fg=#7f7f7f][#S]#[default]#F"
set -g status-left-style "fg=#665c54"
set -g message-style "fg=brightwhite"
set -g window-status-format ""
set -g window-status-current-format ""
set -g pane-border-style "fg=white,bg=default"
set -g pane-active-border-style "fg=orange,bg=default"
set -g status-style "fg=white,bg=default"
set -g default-terminal "screen-256color"
set -g mode-keys vi
set -g status-keys vi
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
bind - split-window -v -c "#{pane_current_path}"
bind _ split-window -h -c "#{pane_current_path}"
unbind '"'
unbind %
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-pipe "pbcopy"
bind r source-file ~/.tmux.conf
bind x kill-pane
bind-key -n C-f run-shell "tmux popup -h 75% -w 75% -E 'tm open || exit 0'"
bind-key -n C-n run-shell "tmux popup -E 'ql -e nvim || exit 0'"
bind-key -n C-t run-shell "tmux popup -E 'tomb open || exit 0'"
bind-key -n C-s run-shell "tmux popup || exit 0"
set-option -g default-shell /opt/homebrew/bin/fish
bind-key -n C-h select-pane -L
bind-key -n C-j select-pane -D
bind-key -n C-k select-pane -U
bind-key -n C-l select-pane -R
bind h resize-pane -L 10
bind l resize-pane -R 10
bind j resize-pane -D 10
bind k resize-pane -U 10