About: Add Vim to the Windows Explorer context menu   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Create a template file where the last few lines control Vim. Example contents: --------------------------------End of Text---------------------------------- The line below controls Vim, which you can get free from: http://www.vim.org/ vim:tw=80:ai:ft=txt:norl: Call the above sample template file GVIM.vtd and save it in the "C:\Windows\ShellNew\" directory. You may use another extension, but I played it safe and used one that wasn't being used on my system. Moreover, I did not change the default location of Windows installation, but you may need to do so if your system does not match mine.

AttributesValues
rdfs:label
  • Add Vim to the Windows Explorer context menu
rdfs:comment
  • Create a template file where the last few lines control Vim. Example contents: --------------------------------End of Text---------------------------------- The line below controls Vim, which you can get free from: <a href="http://www.vim.org/">http://www.vim.org/</a> vim:tw=80:ai:ft=txt:norl: Call the above sample template file GVIM.vtd and save it in the "C:\Windows\ShellNew\" directory. You may use another extension, but I played it safe and used one that wasn't being used on my system. Moreover, I did not change the default location of Windows installation, but you may need to do so if your system does not match mine.
Version
  • 5(xsd:double)
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 639(xsd:integer)
Category
  • Windows
Author
  • Mark Fernandes
Complexity
  • basic
Created
  • 2004(xsd:integer)
ID
  • 640(xsd:integer)
NEXT
  • 641(xsd:integer)
Rating
  • 4(xsd:integer)
abstract
  • Create a template file where the last few lines control Vim. Example contents: --------------------------------End of Text---------------------------------- The line below controls Vim, which you can get free from: <a href="http://www.vim.org/">http://www.vim.org/</a> vim:tw=80:ai:ft=txt:norl: Call the above sample template file GVIM.vtd and save it in the "C:\Windows\ShellNew\" directory. You may use another extension, but I played it safe and used one that wasn't being used on my system. Moreover, I did not change the default location of Windows installation, but you may need to do so if your system does not match mine. Open Explorer and click on Tools->Folder Options. In the dialog box that appears, click on File Types and then scroll the file types until you reach VTD. Click on the file extension VTD and click on Change; now associate gvim.exe with this file extension. Click Start, Run and enter regedit. In the registry, scroll HKEY_CLASSES_ROOT until you get to Vim.Application * Add a key called "shell". * In [HKEY_CLASSES_ROOT\Vim.Application\shell] and a key called "open". * In [HKEY_CLASSES_ROOT\Vim.Application\shell\open] and a key called "command". * Double click the "(Default)" value of "command" and change it to point to the location of gvim.exe on your system. I entered the following in the text field "Value data" C:\PROGRA~1\Vim\vim62\gvim.exe "%1" In regedit, find HKEY_CLASSES_ROOT and scroll to ".vtd", then change the string value (Default) to Vim.Application Click on [HKEY_CLASSES_ROOT\.vtd] and add a key called "ShellNew". Click on "ShellNew" and add a string value called "FileName". Double click on "FileName" and enter GVIM.vtd In Windows Explorer, navigate to any directory. Right click the pane displaying the files, to see "Vim" as one of your options. When you choose Vim, you will create a file called "New Vim.vtd" in that directory. When you open "New Vim.vtd" you should see the above sample text and Vim uses the settings used in the last line of the file. Any changes made to the original template in C:\Windows\ShellNew appear in new files that you create.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software