mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-01-24 09:46:42 +00:00
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
set -g @plugin 'egel/tmux-gruvbox'
|
|
set -g @tmux-gruvbox 'dark' # or 'light'
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
set -g mouse on
|
|
|
|
set -g history-limit 500000
|
|
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# Center the window list
|
|
set -g status-justify centre
|
|
# Other examples:
|
|
# set -g @plugin 'github_username/plugin_name'
|
|
# 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 '~/.config/tmux/plugins/tpm/tpm'
|
|
|
|
|
|
# Activity monitoring
|
|
set-option -g prefix C-space
|
|
setw -g monitor-activity on
|
|
set -g visual-activity on
|
|
|
|
# Vi copypaste mode
|
|
set-window-option -g mode-keys vi
|
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
|
bind-key -T copy-mode-vi y send-keys -X copy-selection
|
|
# enable by r + v
|
|
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
|
|
|
|
# word seperators for automatic word selection
|
|
setw -g word-separators ' '
|
|
|
|
# hjkl pane traversal
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# HJKL resize pane
|
|
bind -r K resize-pane -U
|
|
bind -r J resize-pane -D
|
|
bind -r H resize-pane -L
|
|
bind -r L resize-pane -R
|