-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
35 lines (27 loc) · 1.06 KB
/
Copy path.tmux.conf
File metadata and controls
35 lines (27 loc) · 1.06 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
unbind C-b
set -g prefix C-g
bind C-g send-prefix
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set-option -g default-command "reattach-to-user-namespace -l zsh"
set-option -g mouse on
bind c new-window -c "#{pane_current_path}"
bind 'v' split-window -h -c '#{pane_current_path}' # Split panes horizontal
bind 'V' split-window -v -c '#{pane_current_path}' # Split panes vertically
run-shell ~/gitrepos/tmux-scroll-copy-mode/scroll_copy_mode.tmux
unbind q
bind-key q kill-pane
run-shell 'powerline-daemon -q'
source "/Users/greg/.local/lib/python3.2/site-packages/powerline/bindings/tmux/powerline.conf"
set-option -g status-position top
setw -g mode-keys vi
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat'
run '~/.tmux/plugins/tpm/tpm'
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
# Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"