Skip to content

Instantly share code, notes, and snippets.

@cikupin
Last active November 15, 2020 11:03
Show Gist options
  • Save cikupin/63ac9702bf11fc47b7ae74b70d51829a to your computer and use it in GitHub Desktop.
Save cikupin/63ac9702bf11fc47b7ae74b70d51829a to your computer and use it in GitHub Desktop.
add split pane usage comment (in case I forget)
# My Personal Tmux Configurations
# split panes using h and v
# split pane vertically : ctrl+b, v
# split pane horizontally : ctrl+b, h
bind v split-window -h
bind h split-window -v
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Enable mouse mode (tmux 2.1 and above)
set -g mouse on
# Copy from tmux buffer to system buffer (clipboard)
# Need to install xclip first!
bind-key -t vi-copy y copy-pipe "xclip -sel clip -i"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment