[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] Feature suggestion: flat directory view
From: |
Roman Z. |
Subject: |
Re: [Ranger-users] Feature suggestion: flat directory view |
Date: |
Sat, 2 Mar 2013 14:30:23 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Well, it has been suggested a couple of times already. I agree that
it's useful and ranger should definitely have it, but so far nobody
bothered implementing it. I'll do it eventually, though.
Roman
On Sat, Mar 02, 2013 at 02:18:54PM +0100, Miodrag Milić wrote:
> No comment about this ?
>
> Besides what I said, it would make good complement to 'traverse' command also.
>
> On Thu, Feb 28, 2013 at 11:22:19PM +0100, Miodrag Milić wrote:
> > With powerful scout command around it would be great to have 'flat view '
> > of the directory.
> >
> > flat [-N]
> >
> > N would represent depth level, for instance, flat -1 would remove all level
> > 1 directories and put all their children in the list. Without N, infinite
> > depth is assumed which means no directories will be present, only files.
> >
> > This is very useful option, particularly with scout -mf. For instance, you
> > could
> >
> > * very quickly delete all specific files in all subdirs or up to some level.
> > * bulk rename files from multiple directories. It would have to present
> > full paths in the editor.
> > * quickly remove subdirectories by flattening parent dir, marking all files
> > and moving them to "."
> >
> > and so on, there are number of useful scenarios.
> >
> > The status bar should show full path to the file that is highlighted since
> > many files with the same name could be present in the list.
> > I am also not aware of any recursive search in ranger, only search in
> > current directory and unless I didn't find it, this would be one
> > alternative to it.
> >
> > There would have to be unflat option too, which will work relative to the
> > highlighted file (should switch to the file's directory and select it).
>