On Wednesday, July 25, 2012 9:06:55 AM UTC-5, His Nerdship wrote: > I have just started a contract at my most anal company yet. They don't > give admin rights on the PC (even to developers), so I can't install > anything and I can't use RegEdit (even on the HKEY_CURRENT_USER hive). > I would really like to use Vim, but it is not on "The List" so I > cannot install it legitimately. I have copied in the files, which kinda > works, but the best use is through a proper installation which sets up the > Registry keys etc. I have kludged together a small C++ program to mimic in > HKEY_CURRENT_USER the Vim entries in HKEY_CLASSES_ROOT and thus use the > right-click context menu item "Edit with Vim" in Windows Explorer > (this works programatically, but not with RegEdit). > Is there any way gvim can be installed by someone with no admin rights? > Failing that, what other Registry entries can I kludge onto > HKEY_CURRENT_USER? I would like the other context menu item "Edit with > Existing Vim", for example.
I don't know about the "edit with Vim" registry entries. I don't use them much anymore because they don't work on my 64-bit system at work. But you can make use of the Windows "Send To" menu as a substitute for those: http://vim.wikia.com/wiki/Add_Vim_to_Windows_Send_To_menu Using the --remote family of command switches, you can accomplish the same thing as all the "edit in Vim" entries without touching the registry at all. For file associations, there is a location in HKEY_CURRENT_USER which can be used for those: http://vim.wikia.com/wiki/Windows_file_associations#User-specific_file_associations I've installed Vim on multiple lab machines at work where I have no admin rights, by installing into C:\Vim instead of C:\Program Files\Vim, and using the user-specific file associations instead of global ones. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
