FANDOM


Previous TipNext Tip

Tip: #1301 - Associate files with no extension to Vim under Windows

Created: August 10, 2006 17:36 Complexity: basic Author: John Little Version: 5.7 Karma: 87/32 Imported from: Tip#1301

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

assoc .=txtfile 

(or something else that is opened with vim; see VimTip1003, and be aware of the "ftype" command).

This will cause files with no extension (e.g. "Makefile") to open automatically in Vim.

Comments

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