VimPlugin: Fugitive: Difference between revisions
From wikinotes
Line 48: | Line 48: | ||
<blockquote> | <blockquote> | ||
<syntaxhighlight lang="vim"> | <syntaxhighlight lang="vim"> | ||
:Gbrowse | :Gbrowse " show current file in github/gitlab/bitbucket/gitee/pagure/phabricator/azure/devops/sourcehut | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Service Integrations --> | </blockquote><!-- Service Integrations --> | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> |
Revision as of 02:52, 16 October 2021
Documentation
:h fugitive
https://github.com/tpope/vim-fugitive/blob/master/doc/fugitive.txt github https://github.com/tpope/vim-fugitive
Tutorials
vimcasts (5 part series) http://vimcasts.org/blog/2011/05/the-fugitive-series/
Usage
Index
" commands " ======== :Gstatus " opens git-status " hotkeys " ======= - " toggle git add/untrack (works with multiple files selected) ca " git commit --amend cc " git commitDiff
:Gvdiffsplit master " side-by-side changes of the file in master :Git difftool --name-only master... " files changed since master added to quickfixService Integrations
:Gbrowse " show current file in github/gitlab/bitbucket/gitee/pagure/phabricator/azure/devops/sourcehut