ranger-users
[Top][All Lists]
Advanced

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

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


From: Roman Z.
Subject: Re: [Ranger-users] ranger 1.6.0 on the horizon
Date: Tue, 5 Feb 2013 04:31:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jan 29, 2013 at 12:07:48AM +0100, Miodrag Milic wrote:
> - split, this would be in vim spirit and particularly would compete with
> double panel file managers and with wider and wider screens now being
> standard.

I thought about this already, and some of it is already implemented,
mainly a tab system where each tab has an independent cursor, and macros
like %F which give you the currently selected file of the next tab.
Implementing a split view would be a matter of writing another class
like "BrowserView" named "SplitView" and somehow swapping those when you
swap modes.  Doesn't sound too hard, maybe I give it a try before
1.6.0, but only if you promise to test it well ;)

On Tue, Jan 29, 2013 at 12:07:48AM +0100, Miodrag Milic wrote:
> - second mode that would work by realtime filtering of files in the list as
> you type, using option like libcolumbus  (so you can skip the chars, like
> npd for notepad). Total Commander has this, for instance.

I've already seen some implementations of as-you-type filter commands.
You can easily make your own by writing this into your
~/.config/ranger/commands.py:

from ranger.config.commands import *
class filter(filter):
  quick = filter.execute

It lacks libcolumbus support though :S

If you like it, I can make this the default behaviour.

Roman




reply via email to

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