| Shortcut | Description |
|---|---|
| k | up |
| j | down |
| h | left |
-
Star
(485)
You must be signed in to star a gist -
Fork
(69)
You must be signed in to fork a gist
-
-
Save heroheman/aba73e47443340c35526755ef79647eb to your computer and use it in GitHub Desktop.
I believe there's a mistake in '+letter marks shortcut. It says it deletes the mark. Shouldn't it be to go to it?
I believe there's a mistake in '+letter marks shortcut. It says it deletes the mark. Shouldn't it be to go to it?
Yes. You hit ' + the created letter to go to the destination.
Other useful commands:
S: run the terminal in your current ranger window (exit to go back to ranger window)
t: tag a file with an * (great to mark files)
t"<any>: tag a file with your desired mark (I use this for videos I already watched)
I would also add the arrow keys as alternatives for the vim keys j, k, h, l, this makes it easier for ranger beginners.
~ - Switch the views
Perfect
I believe there's a mistake in '+letter marks shortcut. It says it deletes the mark. Shouldn't it be to go to it?
Yes. You hit
'+ the created letter to go to the destination.Other useful commands:
S: run the terminal in your current ranger window (exitto go back to ranger window)
t: tag a file with an*(great to mark files)
t"<any>: tag a file with your desired mark (I use this for videos I already watched)I would also add the arrow keys as alternatives for the vim keys
j, k, h, l, this makes it easier for ranger beginners.
thx for the suggestions, did not know about the t * marker!
+ + letter + letter | add file permissions (chmod)
- + letter + letter | remove permissions (chmod)
I believe there's a mistake in '+letter marks shortcut. It says it deletes the mark. Shouldn't it be to go to it?
@heroheman Can you fix this?
Old: ' + <letter> Delete Marker
New: ' + <letter> Go to Marker
Thank you! :)
I believe there's a mistake in '+letter marks shortcut. It says it deletes the mark. Shouldn't it be to go to it?
@heroheman Can you fix this?
Old:
' + <letter> Delete MarkerNew:
' + <letter> Go to MarkerThank you! :)
Done that, sorry for the delay, keep them coming.
great cheat sheet 😄 👍
Tagging custom tag does not have t in front.
Old: t"<any>
New: "<any letter>
Keep up the great list :D
Is there a way to type shell commands and show the output?
Is there a way to cd into the directory that is selected?
Thank you! Didn't know ranger THAT powerful.
Thank a lot!
Is there a way to
cdinto the directory that is selected?
You can press S
Is there a way to
cdinto the directory that is selected?You can press
S
That doesn't work unfortunately. Pressing s just changes the prompt to :shell , leaving as is or typing cd does nothing.
The only solution found is to start ranger via . ranger, and then when you exist, you find yourself in the last folder you were in.
Is there a way to
cdinto the directory that is selected?
The only solution found is to start ranger via
. ranger, and then when you exist, you find yourself in the last folder you were in.
I got this to work in bash by making an alias to start ranger - in your .bashrc or .bash_aliases add this line:
alias r=". ranger"Is there a way to
cdinto the directory that is selected?
Ctrl + Shift + T opens another tab in the current directory. Ctrl + Shift + W closes current tab and Alt + (tab number position eg 1, 2, 3) navigates through the tabs
Great
"1l" to unzip files
Thanks so much!!!
tag a file with your desired mark: t"<any> should be "<any>
<delete> doesn’t delete files in v1.9.3
doesn’t delete files in v1.9.3
Confirmed, if somebody knows why. Share the resources, or open the issue please. ![]()
Can anyone tell me how to open file Dir with kitty or other terminals, expect default gnome terminal
let e.g. .. /DIR/subdir/... and now I want to open this fire Dir with nvim using kitty
"t"<any> tag a file with your desired mark"
It is not t"<any> it's just "<any>
Here is how you can fix the delete key:
edit .config/ranger/rc.conf and add this line
map <delete> delete
iirc mac users were complaining because they kept hitting delete by accident and thus the defaults were changed
dD invoke console ": delete", then hitting enter will do the deletion.
you can change the line map dD console delete to map dD delete in .config/ranger/rc.conf file to skip the enter step ;)
Did not know about this. Thanks for the hint and added it.
And I really don't know why its ranked that high. 🤷