Created
September 10, 2023 18:03
-
-
Save reu/78cc5ed9ae61a6d4b0bdd312083aecce to your computer and use it in GitHub Desktop.
This file contains hidden or 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 -g default-terminal "screen-256color" | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
set-option -sa terminal-overrides ",xterm*:Tc" | |
set -s escape-time 10 | |
setw -g xterm-keys on | |
set -g mouse on | |
setw -g mode-keys vi | |
unbind -n -Tcopy-mode-vi MouseDragEnd1Pane | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
setw -g automatic-rename on | |
set -g renumber-windows on | |
set -g status-position top | |
set -g status-bg white | |
set -g status-fg black | |
bind-key h "select-pane -L" | |
bind-key j "select-pane -D" | |
bind-key k "select-pane -U" | |
bind-key l "select-pane -R" | |
bind-key -n M-h "select-pane -L" | |
bind-key -n M-j "select-pane -D" | |
bind-key -n M-k "select-pane -U" | |
bind-key -n M-l "select-pane -R" | |
bind-key -n C-S-Left swap-window -t -1 | |
bind-key -n C-S-Right swap-window -t +1 | |
bind-key -n C-PageUp previous-window | |
bind-key -n C-PageDown next-window | |
bind r source-file ~/.tmux.conf | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind y split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# List of plugins | |
set -g @plugin "tmux-plugins/tpm" | |
set -g @plugin "tmux-plugins/tmux-sensible" | |
set -g @plugin "catppuccin/tmux" | |
set -g @catppuccin_flavour "mocha" # or frappe, macchiato, mocha | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run "~/.tmux/plugins/tpm/tpm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment