Skip to content

Instantly share code, notes, and snippets.

@lbarasti
Last active November 26, 2015 00:54
Show Gist options
  • Select an option

  • Save lbarasti/a5a419a56dbc9d685420 to your computer and use it in GitHub Desktop.

Select an option

Save lbarasti/a5a419a56dbc9d685420 to your computer and use it in GitHub Desktop.
Tmux configuration file
# enable ctrl-left/right arrow
set-window-option -g xterm-keys on
# set vi bindings
setw -g mode-keys vi
# bind y to copy to clipboard - requires sudo apt-get install xclip
bind -t vi-copy y copy-pipe "xclip -sel clip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment