Tip 1301 Printable Monobook Previous Next

created August 10, 2006 · complexity basic · author John Little · version 5.7

For Windows users that use file associations to automatically launch files in Vim, a gem I've found is, in a command prompt window:

assoc .=txtfile

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.


Community content is available under CC-BY-SA unless otherwise noted.