delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/20/18:24:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <cb51e2e0407201524e5e28f7@mail.gmail.com>
Date: Tue, 20 Jul 2004 15:24:36 -0700
From: Joshua Daniel Franklin <joshuadfranklin AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [cygwin tips&tricks] Shortcut to vim in "Send to" folder
In-Reply-To: <cdk54v$3f2$1@sea.gmane.org>
Mime-Version: 1.0
References: <cdfoqh$c55$1 AT sea DOT gmane DOT org> <cdk54v$3f2$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes

On Tue, 20 Jul 2004 15:09:37 -0700, Andrew DeFaria wrote:
> Tomasz Rojek wrote:
> 
> > I would like to share with this tip with any cygwin newbie (all the
> > cygwin developers know it for sure :) I use a few text editors in my
> > daily work, today I finally ;) came to idea to have a shortcut
> > pointing to vim in my "Send to" right click submenu. I use this
> > command in a shortcut to run vim in rxvt window:
> >
> > C:\FOLDER\cygwin\bin\rxvt.exe -display :0 -T vim -vb -sr -sl 10000 -bg
> > black -cr white -fg LightSteelBlue1 -j -fn
> > "-b&h-lucidatypewriter-medium-r-normal-sans-0-0-14-14-m-0-iso8859-2" -e
> > /usr/bin/vim
> >
> > Sending a file to vim works fine, drag&dropping any file on above
> > shortcut opens the file in vim too.
> 
> Well personally I just use XEmacs instead of vim!
> 
> But really I never really understood why people *want* to have to
> continually have to list and enumerate all of those settings to programs
> like rxvt such as "-display :0 -T vim -vb -sr -sl..." instead of just
> listing such resources in your ~/.Xdefaults file and giving is some sort
> of class name. That way you don't have to respecify all those options
> all the time and when you get tired of that "color scheme" and/or font
> settings you need only change your ~/.Xdefaults and wham all your old
> shortcuts work, instead of having to run around changing a bunch of
> shortcuts and their options...

While I also prefer ~/.Xdefaults, there are other reasons why he might have
those settings in the shortcut. Perhaps a different color scheme or
font for the
"Send to..." invocation (which I find very cool, by the way, I had
forgotten about
that trick).

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019