Last active
March 16, 2024 03:59
-
-
Save vancanhuit/d32b1615406f8af27a01535fd75a53f2 to your computer and use it in GitHub Desktop.
TMUX configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -s default-terminal "tmux-256color" | |
set -as terminal-overrides ",xterm*:Tc" | |
set -s escape-time 0 | |
set -g history-limit 50000 | |
set -g display-time 1000 | |
set -g mode-keys vi | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g automatic-rename off | |
set -g focus-events on | |
set -g monitor-activity on | |
set -g visual-activity on | |
set -g clock-mode-style 24 | |
set -g mouse on | |
set -g prefix C-a | |
bind -T prefix C-a send-prefix | |
unbind C-b | |
bind -T prefix a last-window | |
unbind 'l' | |
bind -T prefix v split-window -c "#{pane_current_path}" | |
unbind '"' | |
bind -T prefix h split-window -h -c "#{pane_current_path}" | |
unbind '%' | |
bind -T prefix r source-file ~/.tmux.conf \; display-message "reloading config..." | |
unbind -T copy-mode-vi MouseDragEnd1Pane | |
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-selection | |
set -g @plugin 'dracula/tmux' | |
# it can accept `session`, `smiley`, `window`, or any character. | |
set -g @dracula-show-left-icon session | |
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, network-ping, weather, time | |
set -g @dracula-plugins "time" | |
set -g @dracula-day-month true | |
set -g @dracula-show-flags true | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment