Add Vim to Windows Send To menu
From Vim Tips Wiki
Tip 886 Previous Tip • Next Tip
Created: March 1, 2005 Complexity: basic Author: Madhan Ganesh Minimum version: 6.0 Karma: 27/24 Imported from: Tip#886
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". 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:
- You can add a "diff in Vim" shortcut with "C:\Program Files\Vim\vim71\gvim.exe" -d
- You can make Vim launch the selected files in tabs
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).
