42 lines
677 B
Text
42 lines
677 B
Text
################
|
|
# TMUX-related #
|
|
################
|
|
|
|
# Lists all sessions
|
|
alias ts="tmux ls"
|
|
|
|
# Attaches to session with name $1
|
|
alias ta="tmux attach -t $1"
|
|
|
|
# Create new session with provided name.
|
|
alias tm="tmux new -s $1"
|
|
|
|
###############
|
|
# VIM-related #
|
|
###############
|
|
|
|
# All roads lead to nvim.
|
|
alias vim=nvim
|
|
alias v=nvim
|
|
|
|
###############
|
|
# git-related #
|
|
###############
|
|
|
|
unalias mgs 2>/dev/null
|
|
alias mgs="git status"
|
|
|
|
unalias mgf 2>/dev/null
|
|
alias mgf="git fetch"
|
|
|
|
unalias mgc 2>/dev/null
|
|
alias mgc="git commit"
|
|
|
|
unalias mgp 2>/dev/null
|
|
alias mgp="git push"
|
|
|
|
unalias mgcb 2>/dev/null
|
|
alias mgcb="git branch --show-current"
|
|
|
|
unalias mgl 2>/dev/null
|
|
alias mgl="git log"
|