spf13 / spf13-vim

The ultimate vim distribution
http://vim.spf13.com
Apache License 2.0
15.56k stars 3.63k forks source link

Change position of Git Fugitive window #473

Open denysonique opened 11 years ago

denysonique commented 11 years ago

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?

monkeyxite commented 8 years ago

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

QzCurious commented 6 years ago

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

sidorenkobw commented 5 years ago

+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