Closed DUOLabs333 closed 1 year ago
There's a setting:
set wrap_scroll True
Or map:
map <DOWN> move down=1 cycle=True
...
And you don't need a Home/End key.
map <HOME> move to=0
map <END> move to=-1
copymap <HOME> gg
copymap <END> G
Oh wow. I didn't know I could do that. Thanks.
Though for some reason, it's seeing my Delete key as zh
, but I guess that's another issue.
I think that happens because the default config binds map <C-h> set show_hidden!
(same binding as for zh
), and your Delete key sends C-h
in your terminal.
Apparently, my Delete (Backspace) key is sending Ctrl+Shift+?
Both ^? and ^H are common control sequences sent by the backspace key. That's why the default config copies the map for "backspace" to <C-h>
.
Ah, is there a "noop" option in ranger I can bind ^? to?
You'd have to remove all the bindings for <backspace>
, <backspace2>
, <C-h>
and <C-?>
from rc.conf
.
EDIT: Though I guess eval pass
is pretty close to a No-Op.
Runtime Environment
Current Behavior
If I reach the end of a directory listing, or go to the beginning, it doesn't loop over.
Expected Behavior
The directory listing should loop
Context
I don't have the home or end key, so I can't jump to the end, so I want to be able to loop to get to the end or beginning of a listing.
Possible Solutions
If end of the listing is reached, go back up.
Steps to reproduce
Traceback