瀏覽代碼

Update docs

master
Arun Prakash Jana 6 年之前
父節點
當前提交
10c8344fbd
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 6 個檔案被更改,包括 9 行新增8 行删除
  1. +3
    -2
      README.md
  2. +2
    -2
      nnn.1
  3. +1
    -1
      scripts/auto-completion/fish/nnn.fish
  4. +1
    -1
      scripts/auto-completion/zsh/_nnn
  5. +1
    -1
      src/nnn.c
  6. +1
    -1
      src/nnn.h

+ 3
- 2
README.md 查看文件

@@ -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



+ 2
- 2
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).


+ 1
- 1
scripts/auto-completion/fish/nnn.fish 查看文件

@@ -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'

+ 1
- 1
scripts/auto-completion/zsh/_nnn 查看文件

@@ -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

+ 1
- 1
src/nnn.c 查看文件

@@ -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);
}


+ 1
- 1
src/nnn.h 查看文件

@@ -185,7 +185,7 @@ static struct key bindings[] = {
{ CONTROL('J'), SEL_BSIZE },
/* Toggle sort by time */
{ 't', SEL_MTIME },
/* Wild mode */
/* Wild load */
{ CONTROL('W'), SEL_WILD },
/* Redraw window */
{ CONTROL('L'), SEL_REDRAW },


||||||
x
 
000:0
Loading…
取消
儲存