Created
June 3, 2016 18:36
-
-
Save hyponymous/b05c7f33adfc966dd7b6399f7d2c57ec to your computer and use it in GitHub Desktop.
One-liner that opens all files with git conflicts in vim, highlighting the conflict boundaries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim +/"^[<>|=]\{7}" $(git status -sb | grep "^UU" | cut -d' ' -f 2) # ;edit-conflicted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment