Ranger: Difference between revisions

From wikinotes
No edit summary
Line 39: Line 39:


= Usage =
= Usage =
<blockquote>
== Keybindings ==
<blockquote>
<blockquote>
<syntaxhighlight lang="yaml">
<syntaxhighlight lang="yaml">
S: open shell in current dir
S: open shell in current dir
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Keybindings -->
== Bulk Rename ==
<blockquote>
<syntaxhighlight lang="vim">
:bulkrename  " display selected filenames in vim, rename using vim
</syntaxhighlight>
You can perform more complicated bulk renames with vim itself.
<syntaxhighlight lang="vim">
</syntaxhighlight>
</blockquote><!-- Bulk Rename -->
</blockquote><!-- Usage -->
</blockquote><!-- Usage -->

Revision as of 16:27, 13 February 2022

A commandline file manager. Similar to vifm.
Uses w3m powered image previews, bat powered file previews, etc.

Documentation

github https://github.com/ranger/ranger
official docs https://github.com/ranger/ranger/wiki/Official-user-guide
official wiki https://github.com/ranger/ranger/wiki

Install

sudo pacman -S ranger

Configuration

Images

If images flicker in your terminal, see fix within w3m.
Use shellscript to add delay to image rendering.
See https://github.com/alacritty/alacritty/issues/1021

NOTE:

doesn't work for me in st or alacritty

export W3MIMGDISPLAY_PATH=~/.bash/bin/w3imgdisplay

Usage

Keybindings

S: open shell in current dir

Bulk Rename

:bulkrename  " display selected filenames in vim, rename using vim

You can perform more complicated bulk renames with vim itself.