Skip to content

Instantly share code, notes, and snippets.

@alduro
Last active October 3, 2019 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alduro/3bd1a396675b22438e67643538c048f6 to your computer and use it in GitHub Desktop.
Save alduro/3bd1a396675b22438e67643538c048f6 to your computer and use it in GitHub Desktop.
set-option -g mouse on
set -sg escape-time 0
# Setting the prefix from C-b to C-a
set -g prefix C-a
# Free the original Ctrl-b prefix keybinding
unbind C-b
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Solarized theme
# set -g @plugin 'seebi/tmux-colors-solarized'
# set -g @colors-solarized 'dark'
# Terminal type configuration
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",screen-256color:Tc"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
@alduro
Copy link
Author

alduro commented Oct 3, 2019

❯ more ~/development.sh
tmux new-session -s development -n editor -d
tmux send-keys -t development 'dec && cd pricing' C-m
tmux send-keys -t development 'vim' C-m
tmux new-window -n console -t development
tmux send-keys -t development:1 'dec && cd pricing' C-m
tmux select-window -t development:0
tmux attach -t development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment