Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
created 2006 · complexity basic · author John Little · version 5.7
Where txtfile has been defined as a file type that is opened with Vim. See VimTip1003, and try
ftype /? at the command prompt.
This will cause files with no extension (e.g. "Makefile") to open automatically in Vim.
You may need to logout and log back in before this will take effect.
You can also use the Windows Registry to set up the extensionless file association. For example, by importing the following registry file (adjust for correct Vim version):
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.] [HKEY_CLASSES_ROOT\.\shell] [HKEY_CLASSES_ROOT\.\shell\open] [HKEY_CLASSES_ROOT\.\shell\open\command] @="\"C:\\Vim\\vim61\\gvim.exe\" \"%1\""
- VimTip279 for automatically launching Vim for files which may have an extension but have no file association.