tpope / vim-fugitive

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

Possible missing docs for fugitive_- #2044

Open igbanam opened 2 years ago

igbanam commented 2 years ago

I was going through the docs today and I realize I've been using some functionality in Fugitive — since forever, btw — which I do not see in the docs. I see under Staging/unstaging maps that fugitive_- is a mapping to "Stage or unstage the file or hunk under the cursor." I've been using this to push since. Checked the documentation and didn't see anything on it. So I fixed it in #2043

…in reverse order

igbanam commented 2 years ago

What makes this possible is here

https://github.com/tpope/vim-fugitive/blob/b411b753f805b969cca856e2ae51fdbab49880df/autoload/fugitive.vim#L5067