This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

git diff better color highlighting with vimdiff and molokai

By: a guest on Jun 10th, 2013  |  syntax: Bash  |  size: 0.36 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Actually I use vimdiff as difftool and vimdiff with molokai colorscheme to get a nice highlighting as you describe in your question.
  3. 1- git config --global diff.tool vimdiff
  4. 2- in vim ":colo molokai"
  6. * Molokai @
  7. * Possible auto colorscheme with ~/.vimrc:
  9. if &diff
  10.     set background=dark
  11.     colorscheme molokai
  12. endif
clone this paste RAW Paste Data