-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
35 lines (26 loc) · 1.02 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
# Set the time in milliseconds for which tmux waits after an escape is input to determine if it is part of a function or meta key sequences
set -s escape-time 0
# Use Vim shortcuts
setw -g mode-keys vi
# Fix colors
set-option -g default-terminal "screen-256color"
# Make `Ctrl+B R` reload the config file
unbind r
bind r source-file ~/.tmux.conf
# Enable click to select pane
set -g mouse on
# List of plugins
# set -g @plugin 'tmux-plugins/tpm'
# set -g @plugin 'tmux-plugins/tmux-sensible'
# set -g @plugin 'nhdaly/tmux-better-mouse-mode'
# Open new windows and split panes on current path
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# soften status bar color from harsh green to light gray
set -g status-bg '#666666'
set -g status-fg '#aaaaaa'
# Adjust mouse wheel scroll speed
set -g @scroll-speed-num-lines-per-scroll 1
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# run -b '~/.tmux/plugins/tpm/tpm'