-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.tmux.conf
36 lines (32 loc) · 1.34 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
# Make things more responsive
set-option -g repeat-time 0
set-option -s escape-time 0
# Vi bindings in copy/paste/scroll mode
set-window-option -g mode-keys vi
# Non tiny history
set-option -g history-limit 100000
# Don't wrap back around when searching
set-window-option -g wrap-search off
# Show status bar at top
set-option -g status-position top
# Renumber windows when any close
set-option -g renumber-windows on
# Mouse support on for eg scrolling panes w/ mousewheel instead of having to
# enter copy-mode every time...sometimes I turn this off tho lmao
set-option -g mouse off
# Use 12-hour clock in statusbar
set-option -g status-right-length 100 # Wow this took forever to find
set-option -g status-right "'#h' (tmux #{version}) %H:%M %Y-%m-%d"
# Don't cut off slightly longer session names (default, 10, means 7-char names)
set-option -g status-left-length 12
# Only search windows by name, not contents (default 'f' binding is to search
# windows by text in them)
unbind-key f
bind-key f command-prompt "select-window -t '%%'" # prefix capable!
# Shortcut for pane horiz resizing (e.g. after monitor switch)
unbind-key s # was choose-tree, whatever that is
bind-key s command-prompt "resize-p -x '%%'"
# NOTE: for session management, see:
# - ~/.zsh/aliases::mux() (or wherever that func is now)
# - tmuxp
# - ~/.tmuxp/* (or wherever the yaml lives now)