Skip to content

Instantly share code, notes, and snippets.

@jshaw
Last active October 22, 2017 23:51
Show Gist options
  • Save jshaw/5657332 to your computer and use it in GitHub Desktop.
Save jshaw/5657332 to your computer and use it in GitHub Desktop.
Aliases used in my .bashrc file / tmux.conf tmux.conf references from http://robots.thoughtbot.com/post/2641409235/a-tmux-crash-course
# GIT
alias gs='git status'
alias gpl='git pull'
alias gc='git commit'
alias gp='git push'
alias ga='git add'
# GRUNT
alias gw='grunt watch --force'
alias gb='grunt build --force'
# tmux
alias tks='tmux kill-session -t '
alias ta='tmux a -t '
alias tls='tmux ls '
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
unbind ^A
bind ^A select-pane -t :.+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment