Here's a tip you might find useful if you work with git and you use Vim. I recently came up with it.
For example, I want to see a file in differen...
For further actions, you may consider blocking this person and/or reporting abuse
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
).So...
Just a thought
I like it, cool idea too! Thanks.
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!vim-fugitive transformed the way I work. Can't recommend it highly enough.
For me:
Feels more natural. Basically, I'm still saying "
vim
this".