lambdalisue / vim-gina

👣 Asynchronously control git repositories in Neovim/Vim 8
http://www.vim.org/scripts/script.php?script_id=5531
MIT License
689 stars 27 forks source link

Return to previous code buffer after status / commit / push #208

Closed devth closed 5 years ago

devth commented 5 years ago

I typically use status, commit, then push. This leaves the status after push succeeds. Could it auto return to the code buffer that it replaced instead?

lambdalisue commented 5 years ago

Unfortunately no. But I guess you can use <C-o> to go back manually and it's enough isn't?

devth commented 5 years ago

After status + commit + push plus moving within those buffers I have to hit <C-o> quite a few times. Maybe I'll just use :new before I interact with Gina.

lambdalisue commented 5 years ago

Or

  1. Add mark before (it's quite common for any Vim operation)
  2. Use :Gina status --opener=new to open a status in a new buffer
devth commented 5 years ago

:Gina status --opener=new is working well. Thanks.