tpope / vim-fugitive

fugitive.vim: A Git wrapper so awesome, it should be illegal
https://www.vim.org/scripts/script.php?script_id=2975
19.82k stars 1k forks source link

Allow `++curwin` option to come after other options #2326

Open KSR-Yasuda opened 1 month ago

KSR-Yasuda commented 1 month ago

Why don't you allow ++curwin option to come after other options such as -p?

:G ++curwin -p log
" Already supported (the current option order).

:G -p ++curwin log
" Supported newly by this patch.

:G -p log ++curwin
" Not supported: the `++curwin` is treated as an argument for the git command.

I don't want to pay attention to the option order.