Map cmt to :Git mergetool

References https://github.com/tpope/vim-fugitive/issues/1329
This commit is contained in:
Tim Pope
2020-01-10 19:56:08 -05:00
parent def982ac4d
commit 6bc345f6f1
2 changed files with 2 additions and 1 deletions

View File

@@ -5946,6 +5946,7 @@ function! fugitive#MapJumps(...) abort
nnoremap <buffer> cm<Space> :Git merge<Space>
nnoremap <buffer> cm<CR> :Git merge<CR>
nnoremap <buffer> cmt :Git mergetool
nnoremap <buffer> <silent> cm? :help fugitive_cm<CR>
nnoremap <buffer> cz<Space> :Git stash<Space>

View File

@@ -111,7 +111,7 @@ that are part of Git repositories).
change unless [!] is given.
:Git difftool -y [args] Invoke `git diff [args]`, open each changed file in a
new tab, and invoke `:Gdiffsplit` against the
new tab, and invoke `:Gdiffsplit!` against the
appropriate commit.
*:Git-mergetool*