gregsexton / gitv

gitk for Vim.
936 stars 59 forks source link

C-CR should open diff folds? #27

Closed phmarek closed 12 years ago

phmarek commented 12 years ago

Hello Greg,

here's a small patch that makes gitv no longer assume that all diff paths start with "a/" or "b/" (diff.noprefix=true).

Furthermore I would have thought that C-CR should open the diff folds by default - is that correct? I see no difference between C-CR and CR from the commit list view, using a current git checkout and vim 7.3.429.

diff --git plugin/fugitive.vim plugin/fugitive.vim index 041c8be..a9f68f0 100644 --- plugin/fugitive.vim +++ plugin/fugitive.vim @@ -2413,8 +2416,8 @@ function! fugitive#foldtext() abort let [add, remove] = [-1, -1] let filename = '' for lnum in range(v:foldstart, v:foldend)

Thank you.

gregsexton commented 12 years ago

Hi, thanks for sending this my way. It looks to be a patch for fugitive though, which I am not the maintainer of. You may wish to send this as a pull request to tpope: https://github.com/tpope/vim-fugitive