Просмотр исходного кода

Switch X and ^X key functionality

master
Arun Prakash Jana 6 лет назад
Родитель
Сommit
80371258a1
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: A75979F35C080412
4 измененных файлов: 8 добавлений и 8 удалений
  1. +2
    -2
      README.md
  2. +2
    -2
      nnn.1
  3. +2
    -2
      src/nnn.c
  4. +2
    -2
      src/nnn.h

+ 2
- 2
README.md Просмотреть файл

@@ -228,8 +228,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
^R Rename entry r Open dir in vidir
^Y Toggle selection y List selection
⎵, ^K Copy entry path ^T Toggle path quote
P Copy selection ^X Delete selection
V Move selection X Delete entry
P Copy selection X Delete selection
V Move selection ^X Delete entry
f Archive entry F List archive
^F Extract archive m, M Brief/full media info
e Edit in EDITOR p Open in PAGER


+ 2
- 2
nnn.1 Просмотреть файл

@@ -108,9 +108,9 @@ Toggle path quote
Copy files from selection
.It Ic V
Move files from selection
.It Ic ^X
Delete files from selection
.It Ic X
Delete files from selection
.It Ic ^X
Delete entry
.It Ic f
Archive entry


+ 2
- 2
src/nnn.c Просмотреть файл

@@ -1975,8 +1975,8 @@ static int show_help(char *path)
"d^R Rename entry r Open dir in vidir\n"
"d^Y Toggle selection y List selection\n"
"a⎵, ^K Copy entry path ^T Toggle path quote\n"
"eP Copy selection ^X Delete selection\n"
"eV Move selection X Delete entry\n"
"eP Copy selection X Delete selection\n"
"eV Move selection ^X Delete entry\n"
"ef Archive entry F List archive\n"
"d^F Extract archive m, M Brief/full media info\n"
"ee Edit in EDITOR p Open in PAGER\n"


+ 2
- 2
src/nnn.h Просмотреть файл

@@ -202,9 +202,9 @@ static struct key bindings[] = {
/* Move from copy buffer */
{ 'V', SEL_MV, "", "" },
/* Delete from copy buffer */
{ CONTROL('X'), SEL_RMMUL, "", "" },
{ 'X', SEL_RMMUL, "", "" },
/* Delete currently selected */
{ 'X', SEL_RM, "", "" },
{ CONTROL('X'), SEL_RM, "", "" },
/* Toggle quote on while copy */
{ CONTROL('T'), SEL_QUOTE, "", "" },
/* Open in a custom application */


Загрузка…
Отмена
Сохранить