[Top][All Lists]

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

Re: [Ranger-users] ranger 1.6.0 on the horizon

From: Joshua Landau
Subject: Re: [Ranger-users] ranger 1.6.0 on the horizon
Date: Thu, 14 Feb 2013 19:26:35 +0000

On 13 February 2013 23:22, Hut <address@hidden> wrote:
On Wed, Feb 13, 2013 at 07:34:29PM +0000, Joshua Landau wrote:
> You might also like a shortcut that runs :shell -w true, which'll let you
> quickly preview previous output.

I simply use "S" to open bash and ^D to go back to ranger.

^D does nothing for me...
On Wed, Feb 13, 2013 at 07:34:29PM +0000, Joshua Landau wrote:
> Again, (to advertise my own stuff ;P) try this. It's an extension of narrow
> (above) in that it chains automatically (+ more). I use this loads 'cause
> it's just so goddamn fast:

That function is pretty good :)  I think im gonna use it for the :scout
command instead.

BTW. commit 8a51682 [1] kinda broke your command, but I pushed a fix

[1] https://github.com/hut/ranger/commit/8a516820081a317b85c6c2ced7901a4000130bf5

Hilariously, I think you're using the semi-old (two days old) version that I later fixed here:[bbs.archlinux.org/viewtopic.php?pid=1231736#p1231736].
When you updated to support the old one, you broke the new one!

However, I prefer it this way and I've re-updated to use the older method:[https://bbs.archlinux.org/viewtopic.php?pid=1232208#p1232208] so please keep it as it is now :).

Also, please note that the [newest,] newest version fixes several big(-ish) bugs that the others I've shown here have.
Basically, if you use :travel or :narrow, only use this version:https://bbs.archlinux.org/viewtopic.php?pid=1232208#p1232208.
On Wed, Feb 13, 2013 at 09:11:59PM +0000, Joshua Landau wrote:
> I'd normally scorn at triple posts so close together, but.. oh well!
> I've finished my update with several nice things, and I'd very [im]modestly
> say I think they're now more complete than Roman Z's (sorry!). To see
> wazzup, follow the link below. I really don't mind anyone stealing or
> changing this or any part of it, Roman Z included, if they want. And if
> y'all prefer searching to filtering (FOOLS!) then Roman Z's is probably a
> lot more useful.
> bbs.archlinux.org/viewtopic.php?pid=1231736#p1231736
> [To test it, just chuck it into your ~/.config/ranger/commands.py]

My :scout command was just a prototype ;).  Thanks for your help.  I
don't have time to test your new version right now but I'll probably
include it in ranger :)  If you want to write a patch yourself, go
ahead.  Otherwise I'll do it myself later.

*feels honoured*

Unfortunately with the new versions I'm not really sure what a patch would entail. Adding the commands to commands.py is easy, but I'm using

directory.tmp_filter = "THE FILTER GOES HERE"
directory.tmp_filter_dir = "THE DIRECTORY WE'RE FILTERING GOES HERE"

which seems like a bad thing to have in production code.

reply via email to

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