2021-08-23 14:05:39 +02:00
|
|
|
# remap prefix from 'C-b' to 'C-a'
|
|
|
|
unbind C-b
|
|
|
|
set-option -g prefix C-a
|
|
|
|
bind-key C-a send-prefix
|
|
|
|
|
|
|
|
# split panes using | and -
|
|
|
|
bind | split-window -h
|
|
|
|
bind - split-window -v
|
|
|
|
unbind '"'
|
|
|
|
unbind %
|
|
|
|
|
|
|
|
# Enable mouse mode (tmux 2.1 and above)
|
|
|
|
set -g mouse on
|
|
|
|
|
2021-09-06 13:29:42 +02:00
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
2021-08-23 14:05:39 +02:00
|
|
|
set -g @plugin 'tmux-plugins/tpm'
|
2021-09-06 13:29:42 +02:00
|
|
|
|
|
|
|
# Add some plugins
|
2021-08-23 14:05:39 +02:00
|
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
2021-08-31 21:22:57 +02:00
|
|
|
|
2021-09-06 13:29:42 +02:00
|
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
set -g @yank_action 'copy-pipe-no-clear'
|
|
|
|
bind -T copy-mode C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
|
|
|
|
bind -T copy-mode-vi C-c send -X copy-pipe-no-clear "xsel -i --clipboard"
|
2021-08-31 21:22:57 +02:00
|
|
|
|
2021-08-23 14:05:39 +02:00
|
|
|
set -g @plugin 'dracula/tmux'
|
2021-08-31 21:22:57 +02:00
|
|
|
set -g @dracula-show-powerline true
|
|
|
|
set -g @dracula-show-left-icon window
|
|
|
|
set -g @dracula-show-timezone false
|
|
|
|
set -g @dracula-plugins "cpu-usage ram-usage"
|
|
|
|
set -g @dracula-cpu-usage-colors "dark_purple white"
|
|
|
|
set -g @dracula-show-flags false
|
|
|
|
|
|
|
|
#set -g @plugin "arcticicestudio/nord-tmux"
|
2021-08-23 14:05:39 +02:00
|
|
|
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|