Created
April 24, 2022 04:00
-
-
Save Kqzz/eb1e96cf25aebe8154ad01fb1e77f1ca to your computer and use it in GitHub Desktop.
My personal tmux configuration, made for use with alacritty
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
# Change prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Change split commands to be more intuitive | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % | |
# Change pane switching to be like vim | |
bind h select-pane -L | |
bind l select-pane -R | |
bind j select-pane -U | |
bind k select-pane -D | |
# Allow Ctrl-A Ctrl-D to detach | |
bind C-d detach | |
# Enable mouse control (clickable windows, panes, resizable panes) | |
set -g mouse on | |
# Remove escape delay | |
set -s escape-time 0 | |
set -g default-terminal "xterm-256color" | |
set-option -ga terminal-overrides ",xterm-256color:Tc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment