ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] Some configuration which I want to do with Ranger


From: Roman Z.
Subject: Re: [Ranger-users] Some configuration which I want to do with Ranger
Date: Sat, 24 Jul 2010 14:53:21 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Fri, Jul 23, 2010 at 02:19:28PM +0000, Mathew de Detrich wrote:
> Thanks, will such options be configurable in the future?
> 
> On Fri, Jul 23, 2010 at 11:42 AM, Roman Z. <address@hidden> wrote:
> 
> > On Fri, Jul 23, 2010 at 09:47:36AM +0000, Mathew de Detrich wrote:
> > > I wan't to currently set up ranger so it works as follows, however I am
> > not
> > > sure if its possible (without altering the Ranger source code instead of
> > > just using configuration files)
> > >
> > > Basically these are the changes I would like to be done in Ranger
> > >
> > > If ranger opens a file (by use of movement with the 'right' key as an
> > > example or through editing), *IF* the associated program is a terminal
> > run
> > > program (vim) ranger will close and run that program with the file (vim)
> > in
> > > a new terminal session, otherwise if its an X application, ranger just
> > > closes itself and executes the program opening the file
> > >
> > > Is this possible to do in ranger through configuration
> > >
> > > Thanks
> >
> > Hi Mathew.
> >
> > I don't think it's possible by changing the config files.
> >
> > (Actually, since it's python code, pretty much everything is possible,
> > you'd just have to get creative.  Yet I'd recommend changing the source
> > code in your case)
> >
> >
> >

I don't think there will be a simple option to close ranger after it
opens the file.  That use case is too specific.  And guess why I chose
python as the programming language?  It's easy to learn, understand
and write, so people can change stuff themselves.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]