Skip to content

Instantly share code, notes, and snippets.

@consolewitch
Last active April 21, 2022 03:07
Show Gist options
  • Save consolewitch/4188c03a920ee3549384fa66ea5cee12 to your computer and use it in GitHub Desktop.
Save consolewitch/4188c03a920ee3549384fa66ea5cee12 to your computer and use it in GitHub Desktop.
tmux.conf
# splitting panes with | and -
bind | split-window -h
bind - split-window -v
# enable mouse scrolling through backlog
#set -g mouse on
# Set vi as the default editor
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel
set -g status-keys vi
# Set default shell
# set-option -g default-command "reattach-to-user-namespace -l zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment