re: A Simple (Yet Powerful) Tip on Git and Vim VIEW POST

FULL DISCUSSION
 

Maybe better if instead of an alias you wrote a short bash script that could take an argument for the filetype? Something like (call it vimtype).

vim - -c "set syntax=$1"

So...

git show branch_name:/path/to/file.py | vimtype python

Just a thought

 
code of conduct - report abuse