-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.tmux.conf
More file actions
45 lines (34 loc) · 1.24 KB
/
.tmux.conf
File metadata and controls
45 lines (34 loc) · 1.24 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
set -g mouse on
set -ga terminal-overrides ',*:RGB'
set -g history-limit 10000
# Options: start indexes from 1
set -g base-index 1
set -g pane-base-index 1
# split panes using | and -, make sure they open in the same path
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
tmux_conf_copy_to_os_clipboard=true
bind -T copy-mode-vi y send -X copy-selection-and-cancel
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
dracula/tmux \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-continuum \
tmux-plugins/tmux-yank \
'
set -g @dracula-plugins "battery cpu-usage ram-usage git"
set -g @dracula-git-branch-format "[%s]"
set -g status-right '[#(TZ="America/New_York" date +"%%Y-%%m-%%d %%H:%%M")]'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'