Skip to content

Instantly share code, notes, and snippets.

@vascoosx
Last active April 12, 2016 01:42
Show Gist options
  • Save vascoosx/77e7cfebf516466667a9 to your computer and use it in GitHub Desktop.
Save vascoosx/77e7cfebf516466667a9 to your computer and use it in GitHub Desktop.
tmux
set-option -g prefix C-j
unbind-key C-b
bind-key C-j send-prefix
bind-key C-j last-window
bind c new-window -c "#{pane_current_path}"
bind "\"" split-window -v -c "#{pane_current_path}"
set-window-option -g mode-keys vi
# list-keys -t vi-copy
# install cygutils-extra
bind-key -n -t vi-copy y copy-pipe "putclip"
bind ] run "putclip | tmux load-buffer - ; tmux paste-buffer"
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g default-command $SHELL
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
set -g @plugin 'seebi/tmux-colors-solarized'
set -g @colors-solarized '256'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run-shell '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment