Skip to content

Instantly share code, notes, and snippets.

@Kqzz
Created April 24, 2022 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kqzz/eb1e96cf25aebe8154ad01fb1e77f1ca to your computer and use it in GitHub Desktop.
Save Kqzz/eb1e96cf25aebe8154ad01fb1e77f1ca to your computer and use it in GitHub Desktop.
My personal tmux configuration, made for use with alacritty
# 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