Skip to content

Instantly share code, notes, and snippets.

@caiguanhao
Last active November 27, 2021 07:13
Show Gist options
  • Save caiguanhao/84d2b19ab54dd3dab32ef689813094fd to your computer and use it in GitHub Desktop.
Save caiguanhao/84d2b19ab54dd3dab32ef689813094fd to your computer and use it in GitHub Desktop.
simple tmux conf
set -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 base-index 1
set -g status on
set -g status-interval 5
set -g automatic-rename on
set -g automatic-rename-format '#{b:pane_current_path}'
set -g status-left ""
set -g status-right ""
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment