Thanks, looks awesome!!!
@khalsah thanks for the link!
Ok, now I see your point. Will try to improve the hook a bit.
Good to know! Thanks for your comment!
@hauleth I think that you don't understand how it works ;).
It doesn't check all files, it checks only changed/added files, just call git diff-index --name-only HEAD --
in one of your repositories where you have some uncommitted changes. Create file, run script again, add file to commit and run it again.
@hauleth thanks for feedback, however git grep --cached
doesn't show changes which aren't committed. It searches only in blobs registered in the index file.
Btw. feedback applied :)
let g:gitgutter_enabled = 0
makes that you have to call EnableGitGutter
to see changes.
If you want to turn on by default, you should switch 0 to 1.
Ok, but sometimes correction is useful.
You can exclude only selected commands by using nocorrect
function.
For instance: alias mv='nocorrect mv'
You can also define vim as mergetool, like here -> https://github.com/bartekd/dotfiles/blob/master/.gitconfig#L53
Did you see http://vim-adventures.com/ ?
Awesome, thanks!
Did you see http://vim-adventures.com/ ?
thanks @mhitza, fixed!
@jisaacks I just wrote another protip (similar to yours) for passenger standalone. Check this out https://coderwall.com/p/rtskuw
Achievements
1,278 Karma
122,778 Total ProTip Views

Walrus

Mongoose 3

Raven

Mongoose

wroc_love.rb

Forked

@whardier, do you know better solution?