ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] application definitions in apps.py


From: Miodrag Milic
Subject: Re: [Ranger-users] application definitions in apps.py
Date: Thu, 21 Feb 2013 13:31:35 +0100

Way 1:

Bind key to open file under cursor:

:map o shell open %s 

Way 2:

Edit apps.py and add following under """How to determine the default applicatino?"""

return self.either(c, 'open')

The similar goes for linux and 'xdg-open'





On Thu, Feb 21, 2013 at 11:20 AM, rajaste <address@hidden> wrote:
Hi,
a Newbie question: How can i configure ranger to use osx 10.8 default applications while opening files?
It's easy in vifm - ":filetype * open %c &"
I would prefer ranger though. Installing ranger default applications is not a productive option for me.  I don't know anything about python.

kind regards,



reply via email to

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