ranger-users
[Top][All Lists]
Advanced

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

Re: [Ranger-users] New file launcher


From: Jostein Berntsen
Subject: Re: [Ranger-users] New file launcher
Date: Mon, 15 Oct 2012 19:54:26 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On 19.03.12,01:31, Roman Z. wrote:
> If you use ranger from the git repository, you might notice that ranger has
> a new file executor/opener.  It now leaves file launching to a module called
> "rifle" which is also a stand-alone executable file:
> http://git.savannah.gnu.org/cgit/ranger.git/tree/ranger/ext/rifle.py
> 
> This change makes the configuration file "apps.py" obsolete and introduces
> a new one: rifle.conf
> http://git.savannah.gnu.org/cgit/ranger.git/tree/ranger/defaults/rifle.conf
> 
> Check https://bbs.archlinux.org/viewtopic.php?id=135763 for a relevant 
> discussion.
> 
> The new configuration file is much easier to read, write and parse than the
> previous apps.py (which was python code). This is also the most simple format 
> I
> came up with that is as powerful as the apps.py, so we lose nothing. It is
> actually more powerful than apps.py, because now you can list all the ways to
> open a file by pressing "r". If you still want to do some coding in
> python, there are hooks in rifle.py.
> 
> I hope this change removes the mental barriers that previously prevented you 
> to
> customize the file launching rules. (Get a custom copy with "ranger
> --copy-config=rifle"). There are probably still some bugs which will be
> fixed as we go along.
> 
> 

The rifle.conf seems to work nicely, but I don't get a list of choices when
I do "r". Is there something to check out here?


Jostein



reply via email to

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