mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 23:58:01 +00:00
Add Open The Fugitive Git Summary Window as a vim til
This commit is contained in:
18
vim/open-the-fugitive-git-summary-window.md
Normal file
18
vim/open-the-fugitive-git-summary-window.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Open The Fugitive Git Summary Window
|
||||
|
||||
The [`vim-fugitive` plugin](https://github.com/tpope/vim-fugitive) can show a
|
||||
git summary window that is "akin to git-status". There are two ways to open up
|
||||
this window.
|
||||
|
||||
The short-hand way of doing this is with `:G` (or `:Git`) with no arguments.
|
||||
For me, this opens the `fugitive-summary` in a split.
|
||||
|
||||
The other way is with the `:Gedit` command. This command can take a variety of
|
||||
arguments, and when you pass it `:` as an argument, it will open a window with
|
||||
the `fugitive-summary` (i.e. `:Gedit :`).
|
||||
|
||||
I tend to short-hand this as `:Ge:`.
|
||||
|
||||
See `:h fugitive-summary` and `:h fugitive-object` for more details on this.
|
||||
|
||||
[source](https://www.youtube.com/watch?v=rzUMjqD6NMQ)
|
||||
Reference in New Issue
Block a user