This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re. Bash Prompt Here


At 11:22 AM 10/3/2000, Ed Bradford/Raleigh/IBM wrote:
>One final question problem for the group to address. Some versions of vim
>install stuff
>in the registry so that when you right click ANY file, you get the choice
>of "Edit with vim". I have
>not been able to find a simple registry hack to make that happen without
>having a registered
>dll. Also, it wasn't exactly clear to me how to train the VIM dll to use
>something else. I must have spent
>less than 5 minutes looking at it.
>
>Has anyone figured out how to do this? I have tried just putting stuff in
>the HKCR/file registry key but that
>doesn't seem to do it.
>
>Ed


HKCR/Unknown/shell/Open with VIM/command

Add a value of type REG_SZ which points to VIM and passes the file parameter
like so:

REG_SZ:d:\bin\vim.exe "%1"

This puts this option for all files and works as the default for any file
not otherwise registered.


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]