From a8163625f8ddd8bf9e5baaaf4fad5e324d79acbe Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 15 Aug 2019 22:38:56 -0400 Subject: [PATCH] Vim automatically sets cursorbind for diff buffers References https://github.com/tpope/vim-fugitive/pull/937 --- autoload/fugitive.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 5777273..52872e7 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4472,9 +4472,6 @@ function! s:Diff(autodir, keepfocus, mods, ...) abort endif let spec = s:Generate(file) let restore = s:diff_restore() - if exists('+cursorbind') - setlocal cursorbind - endif let w:fugitive_diff_restore = restore if s:CompareAge(commit, s:DirCommitFile(spec)[1]) < 0 let mods = s:Mods(mods, 'rightbelow')