Skip to content

Instantly share code, notes, and snippets.

@aliev
Created September 11, 2015 19:53
Show Gist options
  • Save aliev/e900f25134a90c648442 to your computer and use it in GitHub Desktop.
Save aliev/e900f25134a90c648442 to your computer and use it in GitHub Desktop.
# Terminal
set -g default-terminal "screen-256color"
# No delay for escape key press
set -sg escape-time 0
# Enable mouse
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
# Enable vi-mode
set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
# Copy/paste For OS X users
# brew install reattach-to-user-namespace
bind -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
# Disable auto rename window
set-option -g allow-rename off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment