I can recommend some git utilities such as junegunn/gv.vim and tpope/vim-fugitive. Some commands I use from these plugins:
:Ggrep somepattern | cw: Searches file contents which are tracked by git.
:Gblame: Does a git blame from your editor. You can also go back in time by selecting the commit and pressing ~. O on a commit will open the entire commit in a new tab.
:Gbrowse!: (requires tpope/vim-rhubarb plugin on top of fugitive): Generates a Github link with the correct branch and file and puts it into your clipboard. Also works from visual mode.
:GV!: Displays the change history of the current file.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I can recommend some git utilities such as
junegunn/gv.vim
andtpope/vim-fugitive
. Some commands I use from these plugins::Ggrep somepattern | cw
: Searches file contents which are tracked by git.:Gblame
: Does a git blame from your editor. You can also go back in time by selecting the commit and pressing~
.O
on a commit will open the entire commit in a new tab.:Gbrowse!
: (requirestpope/vim-rhubarb
plugin on top of fugitive): Generates a Github link with the correct branch and file and puts it into your clipboard. Also works from visual mode.:GV!
: Displays the change history of the current file.