]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Shorter fugitive command aliases
authorSergey Matveev <stargrave@stargrave.org>
Thu, 18 Nov 2021 13:10:05 +0000 (16:10 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 27 Jan 2022 11:35:13 +0000 (14:35 +0300)
vim/.vim/plugin/git-alias.vim [new file with mode: 0644]
vim/.vimrc

diff --git a/vim/.vim/plugin/git-alias.vim b/vim/.vim/plugin/git-alias.vim
new file mode 100644 (file)
index 0000000..753b16b
--- /dev/null
@@ -0,0 +1,2 @@
+command! Gblame Git blame
+command! Gcommit Git commit
index 1ce1198a16d01ea6941485d8c0e9a0c2b89ad4ac..a9e89c7ef929e72487537ad366ea0386cf79b0cf 100644 (file)
@@ -170,4 +170,3 @@ nnoremap <C-P> <C-I>
 command! E Explore
 command! Ch cd %:p:h
 command! -bar -nargs=? -bang Tmp :silent vnew<bang>|setlocal buftype=nofile bufhidden=hide noswapfile buflisted filetype=<args> modifiable
-command! Gcommit Git commit