New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: open Gstatus in new tab #727
Comments
Huh? |
What a brainfart on my part. 😞 It totally does work. 👍, don't know how that Closing 😁 |
either However, I get the error message "E441 no preview window". @tpope, I would like to know if I can achieve this trick without making errors? |
@ipod825 nmap <silent> <C-s> :Gstatus <bar> wincmd T<CR> |
@geneotech |
|
|
|
Thank you @tpope! That's exactly what I want! |
Now viewing space and also keeps git in it's own space. Solution found in this github issue: tpope/vim-fugitive#727.
Hi, I have these lines in my vimrc:
It works fine but now the status window closes after I leave Insert mode in the commit window. How can I keep the status window open at all times in my new tab? |
Preview window closing sounds like a completion plugin. This is one of the reasons I recommend against using a preview window! |
I'll Thank you for your time :) |
|
Oh. My. God. Thanks a bunch tpope! |
Sometimes it's nice to have a little more vertical space to deal with preparing commits and in those cases opening Gstatus as a new tab would be nice to have.
I've tried to "promote" the window to a new tab, by either
Ctrl-W_T
or:tabedit %
, but in both cases the navigation bindings are lost and e.g.Ctrl-d
results in an error:E486: Pattern not found: context
The text was updated successfully, but these errors were encountered: