右键菜单添加新建文件类型
编辑一下代码保存为.reg文件就可以了,替换其中md的类型为新的文件类型就可以。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.md]
@="mdfile"
"Content Type"="text/plain"
[HKEY_CLASSES_ROOT\.md\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\mdfile]
@="md文件"
[HKEY_CLASSES_ROOT\mdfile\shell]
[HKEY_CLASSES_ROOT\mdfile\shell\open]
[HKEY_CLASSES_ROOT\mdile\shell\open\command]
@="C:\Program Files\Vim\vim73\gvim.exe %1