1

when I use Gdiff, this open a window with differences, but when I close the window differences the cursorbind is 1.

How I can set nocursorbind when I close the window differences ?

I think in

autocmd BufDelete fugitive* set nocursorbind

but don't work

JuanPablo
  • 23,792
  • 39
  • 118
  • 164

1 Answers1

0

for now I set this map

nn <silent><Leader>gD <c-w>h:bd<cr>:setl nocursorbind<cr>
JuanPablo
  • 23,792
  • 39
  • 118
  • 164