-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
38 lines (29 loc) · 1.08 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
set-option -g default-shell "/usr/bin/zsh"
#set -g mouse-select-pane on
set-option -g mouse on
#bind -n WheelUpPane copy-mode
# vim ftw !
set-window-option -g mode-keys vi
bind S-h previous-window
bind S-l next-window
#bind -Tcopy-mode-vi 'v' send -X begin-selection
#bind -Tcopy-mode-vi 'y' send -X copy-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
# Need moar history ! MOAR !!
set-option -g history-limit 5000
# kill session
bind k kill-session
# because vim fast escape is clunky without this
set -sg escape-time 0
# pane naming stuff -- from https://stackoverflow.com/a/63206085
set -g pane-border-status top
setw -g automatic-rename off
setw -g pane-border-format ' #{pane_index} #{pane_title} : #{pane_current_path} '
# List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @tpm_plugins 'tmux-plugins/tpm'
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @plugin 'tmux-plugins/tmux-yank'
# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run-shell '~/.tmux/plugins/tpm/tpm'