spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

Change position of Git Fugitive window

Open denysonique opened this issue 12 years ago • 3 comments

When I used Fugitive for the last time the :Gstatus window would open at the top. In Spf13 Vim the window opens at the bottom. How to tell Fugitive to open the window at the top instead of the bottom?

denysonique avatar Oct 18 '13 20:10 denysonique

Just put 'set splitbelow' in your rc file ;)

monkeyxite avatar Dec 13 '15 01:12 monkeyxite

And can I put Gstatus window on vary bottom when I call it? I always split 3 winodws (top left, top right and bottom). If I call Gstatus on top left window, it would split against to top left window (1). I want it be locate to vary bottom(2) no matter which window I was in.

(1) Call Gstatus on top left window image

(2) What I want image

QzCurious avatar Oct 22 '18 12:10 QzCurious

+1 I would also like to have this functionality in the plugin.

As a work around you can add some mapping that moves the window all the way down: map <leader>gst :Gst<cr><c-w>J

or this to make it appear on top: map <leader>gst :Gst<cr><c-w>K

sidorenkobw avatar Dec 14 '18 16:12 sidorenkobw