Created
July 27, 2024 23:45
-
-
Save simon-lang/eb587f5cb4db0b69acff1cdfa7cf246f 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
❯ cat tmux/tmux.conf | |
# Set window to start at 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
set -g mouse on | |
# Fix terminal issue | |
set -sg escape-time 10 | |
# - hjkl pane traversal | |
bind-key C-h select-pane -L | |
bind-key C-j select-pane -D | |
bind-key C-k select-pane -U | |
bind-key C-l select-pane -R | |
# - Simpler window splits | |
bind-key c new-window -c "#{pane_current_path}" | |
bind-key % split-window -h -c "#{pane_current_path}" | |
bind-key '"' split-window -v -c "#{pane_current_path}" | |
# plugins | |
set -g @plugin 'catppuccin/tmux' | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
bind -r a select-pane -t .+1 \; resize-pane -Z | |
bind -n C-k clear-history | |
set -g @catppuccin_status_background "default" | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment