Skip to content

Instantly share code, notes, and snippets.

@hasham7861
Last active August 15, 2021 21:07
Show Gist options
  • Save hasham7861/0441028b7a00a434da37dee4ba2fa34a to your computer and use it in GitHub Desktop.
Save hasham7861/0441028b7a00a434da37dee4ba2fa34a to your computer and use it in GitHub Desktop.
Useful tmux config for daily workflow
# Create file'.tmux.conf' like this vim ~/.tmux.conf
# Copy the following commands to help you
# To create split windows on horizontal axis, press following `ctrl + b` and then hold `shift + '` or ` " `
#windows manupilation with mouse, the ability to resize and move across split windows
set -g mode-mouse on #For tmux versions < 2.1
#copy and paste commands
bind P paste-buffer
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind-key -t vi-copy 'r' rectangle-toggle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment