You are not logged in.
Offline
seems to work fine so far mr. hut
two questions:
- can you add zP (preview_directories) to the standard keys.py?
- what exactly does flushinput do?
ᶘ ᵒᴥᵒᶅ
Offline
1. Yes
2. If you press many keys quickly before the first one is handled, the other keys are ignored.
It's useful if it's scrolling slowly. If you stop pressing, it will also stop scrolling :-)
But it's bad if you're copying stuff, ranger gets slow and you can't type in commands well.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
(1) '%' no longer moves to the middle, but it does with the following change. In keys.py, after
map = keymanager.get_context('browser')
I put:
map.dir('%', down=50, percentage=True, absolute=True)
(2) When there's just one file or directory showing, and I delete it, then I see [empty] highlighted. But the preview on the right doesn't change until I press <C-R>.
Offline
'zc' and 'zd' don't work. 'zP' doesn't show up among the options when you press 'z'.
Offline
Thanks, fixed. "zc" works, but... in a strange way.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Thanks, fixed. "zc" works, but... in a strange way.
The problem with nonempty previews of [empty] is still there. To repeat, this shows up when the main column has only one entry, and the preview is visible. Deleting it means that the focus is on [empty], but the old preview still shows up unchanged.
Offline
Question: how do I use function keys in maps? I see that there is a line
map('<F1>', lambda arg: arg.fm.display_command_help(arg.wdg))
in keys.py in the console maps section, but if I try
map('<F7>', fm.open_console(cmode.COMMAND, 'mkdir '))
that doesn't do anything; I have to use KEY_F7 instead. It's no big deal, I can use that, I was just wondering.
Offline
hut wrote:Thanks, fixed. "zc" works, but... in a strange way.
The problem with nonempty previews of [empty] is still there. To repeat, this shows up when the main column has only one entry, and the preview is visible. Deleting it means that the focus is on [empty], but the old preview still shows up unchanged.
Yup. The bug has been on the TODO list for weeks, eventually I'll fix it...
Question: how do I use function keys in maps? I see that there is a line
map('<F1>', lambda arg: arg.fm.display_command_help(arg.wdg))
in keys.py in the console maps section, but if I try
map('<F7>', fm.open_console(cmode.COMMAND, 'mkdir '))
that doesn't do anything; I have to use KEY_F7 instead. It's no big deal, I can use that, I was just wondering.
This is a bug of course. Fixed.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Btw: Forget the plugin system. Ranger is working fine, no need to rewire everything. It would be more practical to focus on optimization now since ranger is relatively slow at copying, loading etc.
map('<F7>', fm.open_console(cmode.COMMAND, 'mkdir '))
Since the function keys are still unused, I'm going to add midnight-commander-like hotkeys by default
Last edited by hut (2010-04-19 20:42:08)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Btw: Forget the plugin system. Ranger is working fine, no need to rewire everything. It would be more practical to focus on optimization now since ranger is relatively slow at copying, loading etc.
eyolf wrote:map('<F7>', fm.open_console(cmode.COMMAND, 'mkdir '))
Since the function keys are still unused, I'm going to add midnight-commander-like hotkeys by default
Excellent idea.
Offline
Btw: Forget the plugin system
woohoo! and perhaps a whewhew! too:)
highlights of the week are updating a brilliant and light RANGER as we now have, and learning.
Last edited by yvonney (2010-04-22 22:44:02)
Offline
Wow. I'm browsing the lightweight-applications page in the wiki from time to time and just stumbled on ranger. First impression: brilliant
Thanks a lot hat. I guess I will now spend some time customizing and testing features
Last edited by golwin (2010-05-01 16:21:04)
arch64 | awesome | screen | ranger | vim | cmus | weechat | bitlbee
Offline
the filter function wouldn't work..
i tried ":filter pdf" or ">filter pdf" but neither of them works.
anybody ?
Offline
the filter function wouldn't work..
i tried ":filter pdf" or ">filter pdf" but neither of them works.anybody ?
Filter works for me, but only if I first execute a file and then return to directory view. Perhaps it's a bug.
Offline
You're going to have to type a R after you set the filter. There's a bug with the automatic reloading.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Register just to say thank you. Please continue your great work, hut.
Offline
Thanks
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hell Hut and thanks again for this great filemanager.
Only one notice : I noticed that when I use the :find command with a word beginning or using a capital then the :find command seems not to be reactive ?
Offline
2. About tabs: would it be possible to replace the plain numbers with the directory name or (a shortened version of) the path?
You can now try the option "dirname_in_tabs", but sometimes it messes up the titlebar. Gonna fix that some day
(2) When there's just one file or directory showing, and I delete it, then I see [empty] highlighted. But the preview on the right doesn't change until I press <C-R>.
Fixed that
Only one notice : I noticed that when I use the :find command with a word beginning or using a capital then the :find command seems not to be reactive ?
Yeah the algorithm was silly. It works now.
I made it use "smart case" from VIM, which means:
only lower case letters => search case insensitive
containing upper case letters => search case sensitive
You're going to have to type a R after you set the filter. There's a bug with the automatic reloading.
Fixed as well.
Took me so long because I thought its going to be complicated...... but I can simply force a reload at the end of the command :)
Last edited by hut (2010-04-26 23:09:36)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
apologies for not looking through all posts again for answer.
(I did do all 11 pages with a browser 'find' command for 'zh')
I would like RANGER to load with 'zh' already invoked.
So: I'd see all hidden files immediately and always. Do I need to do this with a script. um, a script I wouldn't know
how to write at this time that is.:)
Last edited by yvonney (2010-04-26 23:27:58)
Offline
A script? not at all. Just add this line to your ~/.ranger/options.py:
show_hidden = True
If the file doesn't exist, just create it
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
I 99.9 percent thought there surely was a direct way. So, um, I don't assume!:)
FANTASTIC! So, I'm now creating the options.py file in ~/.ranger using :touch options.py
then add the line. show_hidden = True NOTE: works great!
Last edited by yvonney (2010-04-26 23:34:35)
Offline
Btw, in case you didn't know, all the other options are documented in here:
/usr/share/ranger/ranger/defaults/options.py
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Thanks a lot for your great work
Offline