Wikia

Vim Tips Wiki

Add Vim to Windows Send To menu

Talk0
1,613pages on
this wiki
Revision as of 05:54, July 13, 2012 by JohnBot (Talk | contribs)

Tip 886 Printable Monobook Previous Next

created 2005 · complexity basic · author Madhan Ganesh · version 6.0


In Windows, you can easily open any files in Vim with whatever options you like by adding a shortcut to your SendTo directory, located at "C:\Documents and Settings\<YOUR USER NAME>\SendTo" (in Windows 7 [and Vista?] you can access this folder by typing "shell:sendto" into Explorer's address bar). This will add vim.exe (or gvim.exe) to the "Send To" context menu.

You can specify any options you like with this shortcut by editing the "target" field under the shortcut properties. For example:

If you do not like using the "Send To" context menu, you can automatically launch files in Vim with file associations (even unknown file types or files with no extension).

Comments

Around Wikia's network

Random Wiki