Windows 7: Set GVIM as Default Text Editor

I love VIM.  It’s my favorite IDE.  I also hate notepad.  It’s extremely primitive and in no-way intuitive.  For that reason, I set GVIM ( Graphical VIM ) as the default text editor in my Windows environment — here’s the command:

ftype txtfile="C:\Program Files (x86)\Vim\vim73\gvim.exe" --remote-tab-silent "%1"

Please note, this command must be run as an administrator.  Click start, type “cmd”, right click “cmd.exe” and click “Run as administrator”.

2 thoughts on “Windows 7: Set GVIM as Default Text Editor

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.