DEV Community

Discussion on: A Simple (Yet Powerful) Tip on Git and Vim

Collapse
 
lakshmankumar12 profile image
Lakshman Kumar Narayanan

Also please checkout [vim-fugitive|github.com/tpope/vim-fugitive].

Have the interested file from the current branch open in vim. Then :Gedit some_other_branch:% opens the file as in the other branch, with syntax highlighting!

Collapse
 
rcreasi profile image
Randy Creasi

vim-fugitive transformed the way I work. Can't recommend it highly enough.