mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +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 gs 'git status'
|
||||||
abbr -a gd 'git diff'
|
abbr -a gd 'git diff'
|
||||||
abbr -a gds 'git diff --staged'
|
abbr -a gds 'git diff --staged'
|
||||||
|
abbr -a gdp 'git diff HEAD^'
|
||||||
abbr -a ga 'git add'
|
abbr -a ga 'git add'
|
||||||
abbr -a gaa 'git add -A'
|
abbr -a gaa 'git add -A'
|
||||||
abbr -a gac 'git commit -am'
|
abbr -a gac 'git commit -am'
|
||||||
@ -47,6 +48,8 @@ function abbrs --description 'All abbreviations'
|
|||||||
# Vim
|
# Vim
|
||||||
abbr -a v 'vim'
|
abbr -a v 'vim'
|
||||||
abbr -a vimrc 'vim $HOME/.vimrc'
|
abbr -a vimrc 'vim $HOME/.vimrc'
|
||||||
|
abbr -a vl 'vim -c "normal! `0"'
|
||||||
|
abbr -a vh 'vim -c "Hist"'
|
||||||
|
|
||||||
# Notes
|
# Notes
|
||||||
abbr -a qn 'quicknote "'
|
abbr -a qn 'quicknote "'
|
||||||
|
Loading…
Reference in New Issue
Block a user