From 6bc345f6f16aee0dcc361f2f3bf80e4964f461af Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 10 Jan 2020 19:56:08 -0500 Subject: [PATCH] Map cmt to :Git mergetool References https://github.com/tpope/vim-fugitive/issues/1329 --- autoload/fugitive.vim | 1 + doc/fugitive.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 70ded12..232e1cf 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -5946,6 +5946,7 @@ function! fugitive#MapJumps(...) abort nnoremap cm :Git merge nnoremap cm :Git merge + nnoremap cmt :Git mergetool nnoremap cm? :help fugitive_cm nnoremap cz :Git stash diff --git a/doc/fugitive.txt b/doc/fugitive.txt index e4d04ae..83d0d16 100644 --- a/doc/fugitive.txt +++ b/doc/fugitive.txt @@ -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*