Skip to content

Instantly share code, notes, and snippets.

@c4mx
Last active January 7, 2023 20:57
Show Gist options
  • Save c4mx/fb3d6b30e943660df9539993efd1021a to your computer and use it in GitHub Desktop.
Save c4mx/fb3d6b30e943660df9539993efd1021a to your computer and use it in GitHub Desktop.
my tmux config file
set-option -g prefix C-z # bind ctrl-a as control key
bind | split-window -h -c "#{pane_current_path}" # Split panes horizontal
bind - split-window -v -c "#{pane_current_path}" # Split panes vertically
bind enter resize-pane -Z # "return" key to resize pane
set -g mouse on # enable mouse mode
bind-key -n MouseDrag1Status swap-window -d -t=
unbind C-z
bind R move-window -r\; display-message "Windows reordered..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment