Skip to content

Instantly share code, notes, and snippets.

@sean-kang
Last active June 12, 2024 01:32
Show Gist options
  • Save sean-kang/9013380 to your computer and use it in GitHub Desktop.
Save sean-kang/9013380 to your computer and use it in GitHub Desktop.
.tmux.conf
# Remap the default keybind
set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix
set-window-option -g mode-keys vi
# Set 24-bit color
set -g default-terminal "$TERM"
set -as terminal-features ",$TERM:RGB"
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment