lambdalisue / vim-gina

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

add action for showing all branches #196

Closed prabirshrestha closed 4 years ago

prabirshrestha commented 5 years ago

Is it possible to add branch:all action that does :Gina branch --all. Most of the time I start with :Gina branch. I then realize that my remote branch doesn't have a local branch yet. So I need to quit and start :Gina branch -a again.

I would want this to be supported.

:Gina branch
a          (action)
branch:all
lambdalisue commented 5 years ago

It's possible but I think you don't need action.

Add the following to use --group option on :Gina branch

call gina#custom#command#option(
      \ 'branch', '--group', 'gina-branch',
      \)

Then try

:Gina branch --opener=split
:Gina branch --opener=split -a