From: Sergey Matveev Date: Thu, 18 Nov 2021 13:10:05 +0000 (+0300) Subject: Shorter fugitive command aliases X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=bdbca056376a63fd63a41d24ef31db0a93bab7bf Shorter fugitive command aliases --- 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