mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Add reference to program help for keybinds
This commit is contained in:
parent
f38692e968
commit
75c90dbdc6
142
nnn.1
142
nnn.1
|
@ -29,145 +29,9 @@ opens the current working directory by default if
|
|||
is not specified.
|
||||
.Sh KEYBINDS
|
||||
.Pp
|
||||
NAVIGATION
|
||||
.Pp
|
||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||
.It Ic [Up], k
|
||||
Move to previous entry
|
||||
.It Ic [Down], j
|
||||
Move to next entry
|
||||
.It Ic [Left], h
|
||||
Go to parent directory
|
||||
.It Ic [Right], [Enter], l
|
||||
Open file or enter directory
|
||||
.It Ic [PgUp], ^U
|
||||
Scroll up half a page
|
||||
.It Ic [PgDn], ^D
|
||||
Scroll down half a page
|
||||
.It Ic [Home], g, ^A
|
||||
Move to the first entry
|
||||
.It Ic [End], G, ^E
|
||||
Move to the last entry
|
||||
.It Ic ~
|
||||
Change to the HOME directory
|
||||
.It Ic &
|
||||
Change to initial directory
|
||||
.It Ic \-
|
||||
Change to the last visited directory
|
||||
.It Ic \&.
|
||||
Toggle show hidden . (dot) files
|
||||
.It Ic /
|
||||
Change filter (more information below)
|
||||
.It Ic [Insert], ^T
|
||||
Toggle navigate-as-you-type mode
|
||||
.It Ic b
|
||||
Pin current directory
|
||||
.It Ic ^B
|
||||
Visit pinned directory
|
||||
.It Ic d
|
||||
Toggle detail view
|
||||
.It Ic Tab, ^I
|
||||
Next context, ask to create if none
|
||||
.It Ic ,, ^/
|
||||
Leader key
|
||||
.It Ic N, LeaderN
|
||||
Switch to context N
|
||||
.It Ic Esc
|
||||
Exit prompt
|
||||
.It Ic ^L
|
||||
Force a redraw, clear prompt
|
||||
.It Ic q
|
||||
Quit the current context
|
||||
.It Ic ^G
|
||||
Quit and change directory
|
||||
.It Ic Q, ^Q
|
||||
Quit
|
||||
.It Ic \&?
|
||||
Help and configuration screen
|
||||
.El
|
||||
.Pp
|
||||
FILES
|
||||
.Pp
|
||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||
.It Ic ^O
|
||||
Open with an application
|
||||
.It Ic n
|
||||
Create a new file, directory or link(s) to selection
|
||||
.It Ic D
|
||||
Show entry details
|
||||
.It Ic ^R
|
||||
Rename selected entry
|
||||
.It Ic r
|
||||
Batch rename
|
||||
.It Ic K, ^Y
|
||||
Toggle selection mode
|
||||
.It Ic Y
|
||||
Select all entries in dir
|
||||
.It Ic Space, ^K
|
||||
Select entry and copy absolute path
|
||||
.It Ic y
|
||||
Show selection list
|
||||
.It Ic P
|
||||
Copy files from selection
|
||||
.It Ic V
|
||||
Move files from selection
|
||||
.It Ic X
|
||||
Delete files from selection
|
||||
.It Ic ^X
|
||||
Delete entry
|
||||
.It Ic f
|
||||
Archive files
|
||||
.It Ic F
|
||||
List files in archive
|
||||
.It Ic ^F
|
||||
Extract archive in current directory
|
||||
.It Ic m, M
|
||||
Show brief/full media info
|
||||
.It Ic e
|
||||
Open entry in EDITOR (fallback vi)
|
||||
.It Ic p
|
||||
Open entry in PAGER (fallback less)
|
||||
.El
|
||||
.Pp
|
||||
ORDER TOGGLES
|
||||
.Pp
|
||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||
.It Ic ^J
|
||||
Toggle disk usage analyzer mode
|
||||
.It Ic S
|
||||
Toggle sort by apparent size
|
||||
.It Ic ^W
|
||||
Wild mode
|
||||
.It Ic t
|
||||
Toggle sort by time modified
|
||||
.It Ic s
|
||||
Toggle sort by file size
|
||||
.El
|
||||
.Pp
|
||||
MISC
|
||||
.Pp
|
||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||
.It Ic \&!, ^]
|
||||
Spawn SHELL in current directory (fallback sh)
|
||||
.It Ic C
|
||||
Execute entry
|
||||
.It Ic R, ^V
|
||||
Run or pick a script to run
|
||||
.It Ic L
|
||||
Lock terminal
|
||||
.It Ic ^P
|
||||
Show command prompt
|
||||
.It Ic ^N
|
||||
Take note
|
||||
.It Ic =
|
||||
Launcher
|
||||
.El
|
||||
.Pp
|
||||
Backing up one directory level will set the cursor position at the
|
||||
directory you came out of.
|
||||
.Pp
|
||||
Help & settings, file details, media info and archive listing are shown in the
|
||||
PAGER. Use the PAGER-specific keys in these screens.
|
||||
Press \fB?\fR in
|
||||
.Nm
|
||||
to see the list of keybinds.
|
||||
.Sh OPTIONS
|
||||
.Pp
|
||||
.Nm
|
||||
|
|
Loading…
Reference in a new issue