瀏覽代碼

Add key 'K' to toggle selection

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

+ 1
- 1
README.md 查看文件

@@ -255,7 +255,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
^O Open with... n Create new/link
D File details ^R Rename entry
⎵ ^K Select entry r Open dir in vidir
^Y Toggle selection y List selection
K ^Y Toggle selection y List selection
Y Select all
P Copy selection X Delete selection
V Move selection ^X Delete entry


+ 1
- 1
nnn.1 查看文件

@@ -98,7 +98,7 @@ Show entry details
Rename selected entry
.It Ic r
Open directory in vidir
.It Ic Y, ^Y
.It Ic K, ^Y
Toggle selection mode
.It Ic Y
Select all entries in dir


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

@@ -2420,7 +2420,7 @@ static bool show_help(char *path)
"b^O Open with... n Create new/link\n"
"cD File details ^R Rename entry\n"
"9⎵ ^K Select entry r Open dir in vidir\n"
"b^Y Toggle selection y List selection\n"
"9K ^Y Toggle selection y List selection\n"
"cY Select all\n"
"cP Copy selection X Delete selection\n"
"cV Move selection ^X Delete entry\n"


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

@@ -189,6 +189,7 @@ static struct key bindings[] = {
{ CONTROL('K'), SEL_COPY },
{ ' ', SEL_COPY },
/* Toggle copy multiple file paths */
{ 'K', SEL_COPYMUL },
{ CONTROL('Y'), SEL_COPYMUL },
/* Select all files in current dir */
{ 'Y', SEL_COPYALL },


Loading…
取消
儲存