mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Update docs
This commit is contained in:
parent
b0960a2e3d
commit
10c8344fbd
|
@ -79,6 +79,7 @@ It supports as many scripts as you need! Integrate utilities like sxiv (view ima
|
|||
- File picker, vim (or neovim) plugin
|
||||
- Navigation
|
||||
- *Navigate-as-you-type* with auto-select directory
|
||||
- *Wild load* for *navigate-as-you-type*
|
||||
- 4 contexts (_aka_ tabs _aka_ workspaces)
|
||||
- Bookmarks; pin and visit a directory
|
||||
- Familiar, easy shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>)
|
||||
|
@ -213,7 +214,7 @@ optional args:
|
|||
-s string filters [default: regex]
|
||||
-S du mode
|
||||
-v show version
|
||||
-w wild mode
|
||||
-w wild load
|
||||
-h show help
|
||||
```
|
||||
|
||||
|
@ -339,7 +340,7 @@ When there's a unique match and it's a directory, `nnn` auto selects the directo
|
|||
|
||||
This mode takes navigation to the next level when short, unique keypress sequences are possible. For example, to reach `nnn` development directory (located at `~/GitHub/nnn`) from my `$HOME` (which is the default directory the terminal starts in), I use the sequence <kbd>g</kbd><kbd>n</kbd>.
|
||||
|
||||
The **_wild mode_** program option can be extremely handy for users who use this mode constantly. The entries are unsorted when the directory loads. Applying filters sorts the entries (with directories on top). Directory color is disabled in this mode.
|
||||
The **_wild load_** option can be extremely handy for users who use this mode constantly. The entries are unsorted when the directory loads. Applying filters sorts the entries (with directories on top). Directory color is disabled in this mode.
|
||||
|
||||
#### File indicators
|
||||
|
||||
|
|
4
nnn.1
4
nnn.1
|
@ -68,7 +68,7 @@ supports the following options:
|
|||
show version and exit
|
||||
.Pp
|
||||
.Fl w
|
||||
wild mode - entries unsorted on directory load
|
||||
wild load - entries unsorted on directory load
|
||||
.Pp
|
||||
.Fl h
|
||||
show program help and exit
|
||||
|
@ -119,7 +119,7 @@ allowing continuous navigation. Works best with the \fBarrow keys\fR.
|
|||
.br
|
||||
When there's a unique match and it's a directory, `nnn` auto selects the directory and enters it in this mode.
|
||||
.br
|
||||
The \fIwild mode\fR can be extremely handy for users who use the \fInavigate-as-you-type\fR mode constantly. The entries are unsorted when the directory loads. Applying filters sorts the entries (with directories on top). Directory color is disabled in this mode.
|
||||
The \fIwild load\fR option can be extremely handy for users who use the \fInavigate-as-you-type\fR mode constantly. The entries are unsorted when the directory loads. Applying filters sorts the entries (with directories on top). Directory color is disabled in this mode.
|
||||
.Sh SELECTION MODE
|
||||
The absolute path of a single file can be copied to clipboard by pressing \fI^K\fR if
|
||||
NNN_COPIER is set (see ENVIRONMENT section below).
|
||||
|
|
|
@ -16,4 +16,4 @@ complete -c nnn -s p -r -d 'copy selection to file'
|
|||
complete -c nnn -s s -d 'use substring match for filters'
|
||||
complete -c nnn -s S -d 'start in disk usage analyzer mode'
|
||||
complete -c nnn -s v -d 'show program version and exit'
|
||||
complete -c nnn -s w -d 'wild mode'
|
||||
complete -c nnn -s w -d 'wild load'
|
||||
|
|
|
@ -20,7 +20,7 @@ args=(
|
|||
'(-s)-s[use substring match for filters]'
|
||||
'(-S)-S[start in disk usage analyzer mode]'
|
||||
'(-v)-v[show program version and exit]'
|
||||
'(-w)-w[wild mode]'
|
||||
'(-w)-w[wild load]'
|
||||
'*:filename:_files'
|
||||
)
|
||||
_arguments -S -s $args
|
||||
|
|
|
@ -3940,7 +3940,7 @@ static void usage(void)
|
|||
" -s string filters [default: regex]\n"
|
||||
" -S du mode\n"
|
||||
" -v show version\n"
|
||||
" -w wild mode\n"
|
||||
" -w wild load\n"
|
||||
" -h show help\n\n"
|
||||
"v%s\n%s\n", __func__, VERSION, GENERAL_INFO);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue