From bdbca056376a63fd63a41d24ef31db0a93bab7bf Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 18 Nov 2021 16:10:05 +0300 Subject: [PATCH] Shorter fugitive command aliases --- vim/.vim/plugin/git-alias.vim | 2 ++ vim/.vimrc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 vim/.vim/plugin/git-alias.vim diff --git a/vim/.vim/plugin/git-alias.vim b/vim/.vim/plugin/git-alias.vim new file mode 100644 index 0000000..753b16b --- /dev/null +++ b/vim/.vim/plugin/git-alias.vim @@ -0,0 +1,2 @@ +command! Gblame Git blame +command! Gcommit Git commit diff --git a/vim/.vimrc b/vim/.vimrc index 1ce1198..a9e89c7 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -170,4 +170,3 @@ nnoremap command! E Explore command! Ch cd %:p:h command! -bar -nargs=? -bang Tmp :silent vnew|setlocal buftype=nofile bufhidden=hide noswapfile buflisted filetype= modifiable -command! Gcommit Git commit -- 2.44.0