Skip to content

Instantly share code, notes, and snippets.

@kakakikikeke
Last active June 3, 2019 06:24
Show Gist options
  • Save kakakikikeke/349f92f3e18440874e54 to your computer and use it in GitHub Desktop.
Save kakakikikeke/349f92f3e18440874e54 to your computer and use it in GitHub Desktop.
.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