Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Last active May 13, 2020 10:55
Show Gist options
  • Save gonzaloserrano/0df7b0eca8f615afecde370563f44179 to your computer and use it in GitHub Desktop.
Save gonzaloserrano/0df7b0eca8f615afecde370563f44179 to your computer and use it in GitHub Desktop.
opendiff from vim map - xcode xcode-select macos
# if you got some complain from xcode run this:
# sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
# this is the map that goes to your vimrc
map <c-y> :!git difftool -y --tool=opendiff %<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment