I am using Tim Pope's Fugitive plugin and I wish to change the :Gstatus
default height. How can I accomplish that?
I use this solution:
nnoremap <silent> <Leader>gs :Gstatus<CR>:20wincmd_<CR>
It loads it into the preview window, so you can set the previewheight
option. It will however apply to all other uses of preview window (like omnicomplete) too.
set previewheight=20
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With