d82bed4d98
Tmux tweaks
53 lines
1.2 KiB
Bash
53 lines
1.2 KiB
Bash
# Bind Prefix + r to reload the config
|
|
bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display-message "Config reloaded!"
|
|
|
|
# Bind Ctrl + Space to enter copy mode
|
|
bind -n C-Space copy-mode
|
|
|
|
set-option -g status-keys vi
|
|
set-window-option -g mode-keys vi
|
|
set -g status-right "#[fg=yellow]Copy Mode#[default]"
|
|
|
|
set -g status on
|
|
|
|
set -g status-justify left
|
|
|
|
set -g remain-on-exit off
|
|
set -g exit-empty on
|
|
|
|
# The problem with enabling mouse support is that it doesn't work in any other app
|
|
# set -g mouse on
|
|
|
|
set-option -g history-limit 5000
|
|
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
|
|
set -sa terminal-overrides "*:Tc"
|
|
|
|
# Dracula settings
|
|
set -g @dracula-plugins "battery weather time"
|
|
set -g @dracula-show-empty-plugins false
|
|
|
|
set -g @dracula-left-icon-padding 1
|
|
|
|
set -g @dracula-show-powerline false
|
|
#set -g @dracula-show-left-sep
|
|
#set -g @dracula-show-right-sep
|
|
|
|
set -g @dracula-battery-label false
|
|
set -g @dracula-show-battery-status true
|
|
set -g @dracula-no-battery-label false
|
|
|
|
set -g @dracula-show-fahrenheit false
|
|
set -g @dracula-show-location false
|
|
|
|
set -g @dracula-time-format "%R"
|
|
|
|
# Plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'dracula/tmux'
|
|
|
|
run '~/.tmux/plugins/tpm/tpm'
|