[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ranger-users] Is there a "pure file-browse" mode
From: |
Xu Wang |
Subject: |
Re: [Ranger-users] Is there a "pure file-browse" mode |
Date: |
Fri, 6 Oct 2017 02:09:48 -0400 |
On Wed, Oct 4, 2017 at 5:29 AM, Felix Van der Jeugt
<address@hidden> wrote:
> Dear Xu Wang,
>
> Quoting Xu Wang (2017-10-03 22:44:05)
>> The recent fix works good! One thing I find strange. If I do :travel
>> And when I do '..' it does not automatically go to the parent dir. I
>> have to press the return. Felix, did it used to go before
>> automatically?
>
> This is again sort of a bug. Travel works in two steps:
>
> - First, it checks if there is a directory matching the query. For query
> `..`, this could be `a.directory.with.dots`. As soon as it finds a
> match, it goes to step two. You'll also go to step two when you hit
> enter.
> - Second, it opens the directory matching the query. However, there is
> an override here. It there is a directory exactly matching (e.g.
> `..`), it'll go there. If not, it'll go to the best matching directory
> from step one.
>
> So, if you enter `..`, travel will check for a match. If there is none,
> nothing will happen. If there is, it'll go to `..`. If you press enter,
> it'll go to `..` immediately.
>
Thank you for such detailed explanation, Felix! Hut, do you agree that
this is "sort of a bug"? Should I open issue on Github?
Kind regards,
Xu