[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: |
Mon, 18 Feb 2013 21:19:53 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Feb 18, 2013 at 08:12:39PM +0100, Miodrag Milic wrote:
> Nice example with binds and full RE. Clearly +1 for RE implementation.
Let's discuss then what kind of options will be available for the new
command. I'll name it :scout for now. I suggest these:
1. -a for automatic opening, as soon as there is only 1 match left
2. -e for automatic opening when the user presses enter
3. -k for keeping the console open until the user presses ESC
4. -s for letter skipping ("hl" matches "hello")
5. -g for globbing ("h*o" matches "hello")
6. -r for regular expressions ("h.*\w$" matches "hello")
7. -f for filtering the list of files to show only the matching ones
8. -t for the "as-you-type" feature
9. -m for marking all matching files
If none of -s, -g or -r are used, it matches when the given string is a
substring of the matching file name -- just like the :find command works
now. Obviously -s, -g and -r can't be used together.
We could implement lots of commands with these flags:
:find -> :scout -aet
:search -> :scout -r
:search_inc -> :scout -rt
:travel -> :scout -aeksft
:narrow -> :scout -esft
And all users would be happy because they can combine the flags however
they want.
Roman
- Re: [Ranger-users] ranger 1.6.0 on the horizon, (continued)
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Roman Z., 2013/02/16
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/16
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/16
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/16
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/17
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/17
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Roman Z., 2013/02/17
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Michishige Kaito, 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon,
Roman Z. <=
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Roman Z., 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/19
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/19
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Roman Z., 2013/02/19
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/19
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Miodrag Milic, 2013/02/20
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Roman Z., 2013/02/18
- Re: [Ranger-users] ranger 1.6.0 on the horizon, Joshua Landau, 2013/02/19