RNR(1)

NAME
rnr - Console file manager

SYNOPSIS

rnr [OPTIONS]

DESCRIPTION

rnr(1) (RNR’s Not Ranger) is a text based file manager that combines the best features of Midnight Commander and Ranger

OPTIONS

-h, --help
    Show command line options

-V, --version
    Show program’s version number and exit

-P FILE, --printwd FILE
    Print last working directory to FILE

-D FILE, --database FILE
    Specify database file to use (default: $XDG_DATA_HOME/rnr/rnr.db) If FILE is the string :memory: a fast, but volatile RAM based database is used.

-n, --nodb
    Do not use database (Takes precedence over -D)

-b, --nocolor
    Requests to run in black and white

-d, --debug
    Activate debug mode

KEY BINDINGS

  GENERAL

ESC
    Return to normal mode (like Vim)

q, Q, F10
    Exit

CTRL-R
    Reload panels

CTRL-U
    Swap panels

CTRL-O
    Show console output

CTRL-Q
    Toggle quick view on other panel

TAB
    Change active panel

ALT-I
    Set the other panel to the current directory

ALT-O
    Set the other panel to the highlited directory

v, F3
    View file with the selected pager / Enter directory

e, F4
    Edit file/directory with the selected editor

F7
    Make directory

  PANEL

h, LEFT
    Go to the parent directory

j, DOWN
    Go to the next list element

k, UP
    Go to the previous list element

l, RIGHT, ENTER
    Enter directory / Follow symlink / Open file with the selected opener

g, HOME
    Go to the top of the list

G, END
    Go to the bottom of the list

CTRL-B, PAGE UP
    Go up a page in the list

CTRL-F, PAGE DOWN
    Go down a page in the list

f, /
    Filter list (fuzzy finder like fzf)

uf, u/
    Remove filter from list

BACKSPACE
    Show/Hide hidden files

  SORTING

sn
    Sort by Name

sN
    Sort by Name (Reverse)

se
    Sort by Extension

sE
    Sort by Extension (Reverse)

sd
    Sort by Date & Time

sD
    Sort by Date & Time (Reverse)

ss
    Sort by Size

sS
    Sort by Size (Reverse)

  BOOKMARKS

mKEY
    Add current directory to the bookmark named KEY

'KEY
    Go to the bookmark named KEY

''
    Go to the previous directory (2 times ', not ")

  RENAME

r, cc, cw
    Rename file (replace)

ce
    Rename file (replace before extension)

i, I
    Rename file (insert)

a
    Rename file (append before extension)

A
    Rename file (append after extension)

  SELECT (TAG) FILES

INSERT, SPACE
    Toggle tag on selected file

*
    Toggle tag on all files

+
    Tag files that match the shell wildcard pattern

-, \
    Untag files that match the shell wildcard pattern

uv
    Untag all files

  OPERATIONS ON TAGGED FILES

F5
    Copy tagged files (or selected file)

F6
    Move tagged files (or selected file)

F8
    Delete tagged files (or selected file)

  SHELL

:, !
    Execute a shell command

SUBSTITUTIONS

The following substitutions are available for the shell, rename, copy and move commands:

%f
    The current file

%n
    The current file name without extension

%e
    The current file extension (including the leading .)

%d
    The full path of the current directory

%b
    The name of the current directory (basename)

%s, %t
    The tagged files

%F
    The file in the other panel

%N
    The name of the file in the other panel without extension

%E
    The extension of the file in the other panel (including the leading .)

%D
    The full path of the directory of the other panel

%B
    The name of the directory of the other panel (basename)

%S, %T
    The tagged files of the other panel

%%
    The % character

There is no need to enclose these substitutions in quotes

  EXAMPLE

!mpv %t
    Opens the tagged files with mpv

FILES

rnr(1) respects the XDG Base Directory specification. If the $XDG_CONFIG_HOME environment variable is not set, the default ~/.config directory will be used instead.

$XDG_CONFIG_HOME/rnr/config.py
    The rnr(1) configuration file

$XDG_CONFIG_HOME/rnr/bookmarks
    The currently saved bookmarks

/usr/bin/rnr
    The main executable

/usr/bin/rnrview
    The internal viewer as a standalone executable

/usr/share/rnr/rnr.fish
    Copy this file to ~/.config/fish/functions/ to cd to the last directory when using the fish shell

/usr/share/rnr/rnr.sh
    Source this file in ~/.bashrc to cd to the last directory when using bash

RESOURCES

GitHub: https://github.com/bugnano/rnr

PyPI: https://pypi.org/project/rnr/

SEE ALSO

rnrview(1)

COPYING

Copyright (C) 2020 Franco Bugnano. Free use of this software is granted under the terms of the GNU General Public License (GPL).

AUTHOR

Franco Bugnano
    Author.