Skip to content

Commit 937f78d

Browse files
authored
Merge pull request #149 from lambdalisue/fix-accept-and-cancel-aliases
🐛 Fix Accept and Cancel aliases
2 parents 0cd4e47 + 6e7a1a1 commit 937f78d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ftplugin/gitcommit/gin.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ if get(g:, 'gin_proxy_disable_accept_and_cancel_aliases', 0)
33
endif
44

55
if !exists(':Accept')
6-
command! Accept wq
6+
command! -buffer Accept wq
77
endif
88
if !exists(':Cancel')
9-
command! Cancel cq
9+
command! -buffer Cancel cq
1010
endif

ftplugin/gitrebase/gin.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ if get(g:, 'gin_proxy_disable_accept_and_cancel_aliases', 0)
33
endif
44

55
if !exists(':Accept')
6-
command! Accept wq
6+
command! -buffer Accept wq
77
endif
88
if !exists(':Cancel')
9-
command! Cancel cq
9+
command! -buffer Cancel cq
1010
endif

0 commit comments

Comments
 (0)