You are not logged in.

#1126 2011-10-12 00:50:00

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

You have an outdated commands.py. Unless you modified it, you can simply delete it: rm ~/.config/ranger/commands.py


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1127 2011-10-12 01:40:52

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Ranger, a textbased filemanager

hut wrote:

You have an outdated commands.py. Unless you modified it, you can simply delete it: rm ~/.config/ranger/commands.py

Confirmed, it's work now.


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

#1128 2011-10-12 23:08:21

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

I made a few changes on the Wiki page, https://wiki.archlinux.org/index.php/Ranger, mostly about the new method for keybinding.  But with such massive changes, there must be other corrections to do.  Can other people also examine the page?  Thanks.

Offline

#1129 2011-10-12 23:28:13

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

Is there a keybinding for going half way down a list of entries?  It used to be %.

Offline

#1130 2011-10-12 23:39:51

Veedrac
Member
Registered: 2011-07-19
Posts: 81

Re: Ranger, a textbased filemanager

To go down a half-page, try <C-d>.

cmlr wrote:

I made a few changes on the Wiki page, https://wiki.archlinux.org/index.php/Ranger, mostly about the new method for keybinding.  But with such massive changes, there must be other corrections to do.  Can other people also examine the page?  Thanks.

I'm not making any changes myself on the basis of uncertainty, but:
'Ranger has excellent built-in documentation. Just use these 4 keystrokes: "1?", "2?", "3?", or "4?".'
...should be changed to:
'Ranger has excellent built-in documentation accessible through the "?" key.'
...or similar.

And the paragraph just under Customization should probably mention --copy-config, although that isn't a new concept to v1.5 by any means.

Last edited by Veedrac (2011-10-12 23:41:43)

Offline

#1131 2011-10-12 23:51:06

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

cmlr wrote:

Is there a keybinding for going half way down a list of entries?  It used to be %.

Hmm I didn't think anyone uses it so it's not in the defaults, but ranger still supports it:

map % move down=50 percentage=True absolute=True

"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1132 2011-10-12 23:58:03

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

Veedrac wrote:

And the paragraph just under Customization should probably mention --copy-config, although that isn't a new concept to v1.5 by any means.

I plead ignorance.  What is --copy-config?

Offline

#1133 2011-10-13 00:00:35

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

cmlr wrote:
Veedrac wrote:

And the paragraph just under Customization should probably mention --copy-config, although that isn't a new concept to v1.5 by any means.

I plead ignorance.  What is --copy-config?

ranger --help
smile


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1134 2011-10-13 00:07:16

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

cmlr wrote:
Veedrac wrote:

And the paragraph just under Customization should probably mention --copy-config, although that isn't a new concept to v1.5 by any means.

I plead ignorance.  What is --copy-config?

I see someone has already done this, thanks.

Offline

#1135 2011-10-13 00:33:03

cmlr
Member
From: Rochester, NY, USA
Registered: 2007-04-18
Posts: 99

Re: Ranger, a textbased filemanager

There's still a big notice at the top of the Wiki page https://wiki.archlinux.org/index.php/Ranger that says

This article or section needs expansion.
Please help expand this article so the intended scope is covered in sufficient detail.

Offline

#1136 2011-10-13 19:40:07

Veedrac
Member
Registered: 2011-07-19
Posts: 81

Re: Ranger, a textbased filemanager

I see someone has changed:
'Ranger has excellent built-in documentation. Just use these 4 keystrokes: "1?", "2?", "3?", or "4?".'
to:
'Ranger's man page can be opened by typing "?". You can also press "1?" for a list of key bindings, "2?" for a list of commands and "3?" for a list of settings.'
...but this sorta' missed my point.

In my ranger installation, '1?', '2?', etc. no longer do anything different from '?' - all just open the man page. Thus the prompt to change.

Offline

#1137 2011-10-13 19:45:32

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

Veedrac wrote:

I see someone has changed:
'Ranger has excellent built-in documentation. Just use these 4 keystrokes: "1?", "2?", "3?", or "4?".'
to:
'Ranger's man page can be opened by typing "?". You can also press "1?" for a list of key bindings, "2?" for a list of commands and "3?" for a list of settings.'
...but this sorta' missed my point.

In my ranger installation, '1?', '2?', etc. no longer do anything different from '?' - all just open the man page. Thus the prompt to change.

It reflects how ranger works for about a week. You seem to have an older work-in-progress version.

I should add that after working quite a lot on ranger in the past 2-3 weeks, I'm finished for now to work on other things. You can expect ranger to stay like this for a while.

Last edited by hut (2011-10-13 19:57:56)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1138 2011-10-14 16:45:00

vasyabelkin
Member
Registered: 2009-09-10
Posts: 20

Re: Ranger, a textbased filemanager

/usr/bin/ranger -d --list-unused-keys
ranger version: 1.5.0 (stable), executed with python 3.2.2
Locale: en_US.UTF-8
Current file: None
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/ranger/core/main.py", line 82, in main
    from ranger.ext.keybinding_parser import (special_keys,
ImportError: cannot import name reversed_special_keys

Is this a bug? (Actually I use the very latest git)

Offline

#1139 2011-10-14 22:42:53

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

Yes, a typo ;( Fixed, thanks.


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1140 2011-10-15 09:59:37

PotatoesMaster
Member
From: France
Registered: 2010-08-26
Posts: 54

Re: Ranger, a textbased filemanager

Hi hut.

A minor issue here, easily reproducible with the flushinput option set to False.

It occurs only the first time I run ranger after my computer boots up (maybe some memory cache system is involved).
ranger crashes when I type 'a (or any other bookmark) on loading screen or before.

ranger version: 1.5.0 (stable), executed with python 3.2.2
Locale: fr_FR.UTF-8
Current file: None
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/ranger/core/main.py", line 103, in main
    fm.loop()
  File "/usr/lib/python3.2/site-packages/ranger/core/fm.py", line 191, in loop
    ui.handle_input()
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 218, in handle_input
    self.handle_key(key)
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 154, in handle_key
    self.press(key)
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 169, in press
    quantifier=keybuffer.quantifier)
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 113, in execute_console
    escape=cmd.escape_macros_for_shell)
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 128, in substitute_macros
    macros = self._get_macros()
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 159, in _get_macros
    macros['t'] = [fl.basename for fl in self.fm.env.cwd.files
TypeError: 'NoneType' object is not iterable

Offline

#1141 2011-10-15 20:47:08

Ledti
Member
Registered: 2010-07-31
Posts: 122
Website

Re: Ranger, a textbased filemanager

Hey, nothing to report. I just wanted to say that ranger is great--especially the latest version. Thanks for sharing! smile

Offline

#1142 2011-10-16 14:09:56

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: Ranger, a textbased filemanager

Can't use backspace to show dot files anymore?

Offline

#1143 2011-10-16 14:19:08

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Ranger, a textbased filemanager

Dot files can be shown with 'zh'. You can edit this manually in the rc.conf.

map <backspace> toggle_option show_hidden

Last edited by Army (2011-10-16 14:54:24)

Offline

#1144 2011-10-16 14:23:39

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: Ranger, a textbased filemanager

Thanks~

Offline

#1145 2011-10-16 17:29:40

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

PotatoesMaster wrote:

Hi hut.

A minor issue here, easily reproducible with the flushinput option set to False.

It occurs only the first time I run ranger after my computer boots up (maybe some memory cache system is involved).
ranger crashes when I type 'a (or any other bookmark) on loading screen or before.

ranger version: 1.5.0 (stable), executed with python 3.2.2
Locale: fr_FR.UTF-8
Current file: None
Traceback (most recent call last):
  File "/usr/lib/python3.2/site-packages/ranger/core/main.py", line 103, in main
    fm.loop()
  File "/usr/lib/python3.2/site-packages/ranger/core/fm.py", line 191, in loop
    ui.handle_input()
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 218, in handle_input
    self.handle_key(key)
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 154, in handle_key
    self.press(key)
  File "/usr/lib/python3.2/site-packages/ranger/gui/ui.py", line 169, in press
    quantifier=keybuffer.quantifier)
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 113, in execute_console
    escape=cmd.escape_macros_for_shell)
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 128, in substitute_macros
    macros = self._get_macros()
  File "/usr/lib/python3.2/site-packages/ranger/core/actions.py", line 159, in _get_macros
    macros['t'] = [fl.basename for fl in self.fm.env.cwd.files
TypeError: 'NoneType' object is not iterable

I think it's fixed. smile


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1146 2011-10-16 19:53:12

vasyabelkin
Member
Registered: 2009-09-10
Posts: 20

Re: Ranger, a textbased filemanager

/usr/bin/ranger -d --list-unused-keys
<a-cr>
<a-cr>
<a-cr>
<a-d>
<a-e>
<a-f>

Thanks, hut. Works now, but includes some duplicates, that may be eliminated, AFAIS. Anyway, this is very small issue.

hut wrote:
You can expect ranger to stay like this for a while

A real pity. Thank you very much for your work!

Offline

#1147 2011-10-18 21:51:42

anon27
Member
Registered: 2010-11-10
Posts: 18

Re: Ranger, a textbased filemanager

I'm unable to type numbers into the console with the latest version. They get displayed in the top right corner of the screen instead. Any idea what could be wrong?

Offline

#1148 2011-10-19 02:27:58

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

anon27 wrote:

I'm unable to type numbers into the console with the latest version. They get displayed in the top right corner of the screen instead. Any idea what could be wrong?

You need the latest config files.


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#1149 2011-10-19 07:02:19

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Ranger, a textbased filemanager

hut, I notice that I can't use auto completion when using shell (console shell, when you press s). Is this removed by default or there is a way to enable it ?


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

#1150 2011-10-19 16:03:12

satvikc
Member
Registered: 2011-02-27
Posts: 4

Re: Ranger, a textbased filemanager

Is there any thing similar to autojump  in ranger

Offline

Board footer

Powered by FluxBB