-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
63 lines (43 loc) · 1.71 KB
/
.tmux.conf
File metadata and controls
63 lines (43 loc) · 1.71 KB
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
63
set -s escape-time 0
set-option -g default-command "reattach-to-user-namespace -l zsh"
set-window-option -g mode-keys vi
#set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",screen-256color:Tc"
unbind -T copy-mode-vi Enter
bind -T copy-mode-vi Enter send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
set -g status-style fg=green,bg=colour237
set -g window-status-current-style bg=green,fg=black
set -g display-time 2000
set-option -g status-position top
set-option -g allow-rename off
bind-key c new-window -c "#{pane_current_path}"
bind-key t source-file ~/.tmux.conf \; display-message "Config reloaded"
bind-key g join-pane -d -p 20 -s ghcid
bind-key G break-pane -d -s 1 -n ghcid
bind-key i switch-client -l
bind-key -T copy-mode-vi C-k send-keys -X halfpage-up \; send-keys -X middle-line
bind-key -T copy-mode-vi C-j send-keys -X halfpage-down \; send-keys -X middle-line
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key v split-window -h
bind-key V split-window -v
bind-key C-H swap-window -t -1
bind-key C-L swap-window -t +1
bind-key J resize-pane -D 5
bind-key K resize-pane -U 5
bind-key H resize-pane -L 5
bind-key L resize-pane -R 5
bind-key M-j resize-pane -D
bind-key M-k resize-pane -U
bind-key M-h resize-pane -L
bind-key M-l resize-pane -R
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind u run-shell "~/dotfiles/gotoerr.sh"
# Plugins
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-copycat'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run '~/.tmux/plugins/tpm/tpm'