Skip to content

Instantly share code, notes, and snippets.

@sudosuraj
Created February 25, 2026 13:08
Show Gist options
  • Select an option

  • Save sudosuraj/49ecb6190a99a6762bd02fe10cf50e8b to your computer and use it in GitHub Desktop.

Select an option

Save sudosuraj/49ecb6190a99a6762bd02fe10cf50e8b to your computer and use it in GitHub Desktop.
# @sudosuraj tmux config
set -g mouse on
set-window-option -g mode-keys vi
set -g history-limit 10000
unbind C-b
set -g prefix M-a
bind-key M-a send-prefix
bind-key r source-file ~/.tmux.conf \; display-message "Config reloaded..."
bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
set-option -s set-clipboard on
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment