Skip to content

Instantly share code, notes, and snippets.

@kakakikikeke kakakikikeke/.tmux.conf
Last active Jun 3, 2019

Embed
What would you like to do?
.tmux.conf
# Change prefix
unbind-key C-b
set-option -g prefix C-t
bind-key C-t send-prefix
# Set Keybind
## Resize pane
bind -r C-h resize-pane -L 5
bind -r C-l resize-pane -R 5
bind -r C-j resize-pane -D 5
bind -r C-k resize-pane -U 5
## Sync panes
bind C-s set-window-option synchronize-panes
# Set Color
set-option -g status-bg white
# Copy mode using vi
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.