mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
shortcuts for previous
This commit is contained in:
parent
8cca6bfd39
commit
c5438dad30
@ -19,6 +19,7 @@ function abbrs --description 'All abbreviations'
|
||||
abbr -a gs 'git status'
|
||||
abbr -a gd 'git diff'
|
||||
abbr -a gds 'git diff --staged'
|
||||
abbr -a gdp 'git diff HEAD^'
|
||||
abbr -a ga 'git add'
|
||||
abbr -a gaa 'git add -A'
|
||||
abbr -a gac 'git commit -am'
|
||||
@ -47,6 +48,8 @@ function abbrs --description 'All abbreviations'
|
||||
# Vim
|
||||
abbr -a v 'vim'
|
||||
abbr -a vimrc 'vim $HOME/.vimrc'
|
||||
abbr -a vl 'vim -c "normal! `0"'
|
||||
abbr -a vh 'vim -c "Hist"'
|
||||
|
||||
# Notes
|
||||
abbr -a qn 'quicknote "'
|
||||
|
Loading…
Reference in New Issue
Block a user