]> git.rmz.io Git - dotfiles.git/commitdiff
vim/fugitive: winfixheight FugitiveIndex window
authorSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:22:34 +0000 (14:22 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 9 Jun 2022 13:22:34 +0000 (14:22 +0100)
vim/vimrc

index 2d6d066291a1669519999d6c829794b77a02d174..8da02bf6b7a5e516d2192fd57f8524e99fd12512 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -640,6 +640,7 @@ nnoremap <silent> <leader>gb :G blame<cr>
 
 augroup fugitive_gstatus
     au!
 
 augroup fugitive_gstatus
     au!
+    autocmd User FugitiveIndex setlocal winfixheight
     autocmd User FugitiveIndex nmap <buffer> <leader><space> =
 augroup end
 
     autocmd User FugitiveIndex nmap <buffer> <leader><space> =
 augroup end