Parcourir la source

Use ^W to visit pinned directory.

Turns out ^B is also intercepted by Windows.
master
Arun Prakash Jana il y a 6 ans
Parent
révision
229b1eba91
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: A75979F35C080412
4 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +1
    -1
      README.md
  2. +1
    -1
      nnn.1
  3. +1
    -1
      src/nnn.c
  4. +1
    -1
      src/nnn.h

+ 1
- 1
README.md Voir le fichier

@@ -217,7 +217,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
←, Bksp, h, ^H Parent dir - Last visited dir
→, ↵, l, ^M Open file/enter dir . Toggle show hidden
/ Filter Ins, ^I Toggle nav-as-you-type
b Pin current dir ^B Go to pinned dir
b Pin current dir ^W Go to pinned dir
`, ^/ Leader key LeaderN Switch to context N
Esc Exit prompt ^L Redraw, clear prompt
^G Quit and cd q Quit context


+ 1
- 1
nnn.1 Voir le fichier

@@ -61,7 +61,7 @@ Change filter (more information below)
Toggle navigate-as-you-type mode
.It Ic b
Pin current directory
.It Ic ^B
.It Ic ^W
Visit pinned directory
.It Ic `, ^/
Leader key


+ 1
- 1
src/nnn.c Voir le fichier

@@ -1964,7 +1964,7 @@ static int show_help(char *path)
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
"4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n"
"e/ Filter Ins, ^I Toggle nav-as-you-type\n"
"eb Pin current dir ^B Go to pinned dir\n"
"eb Pin current dir ^W Go to pinned dir\n"
"a`, ^/ Leader key LeaderN Switch to context N\n"
"cEsc Exit prompt ^L Redraw, clear prompt\n"
"d^G Quit and cd q Quit context\n"


+ 1
- 1
src/nnn.h Voir le fichier

@@ -155,7 +155,7 @@ static struct key bindings[] = {
/* Mark a path to visit later */
{ 'b', SEL_PIN, "", "" },
/* Visit marked directory */
{ CONTROL('B'), SEL_VISIT, "", "" },
{ CONTROL('W'), SEL_VISIT, "", "" },
/* Filter */
{ '/', SEL_FLTR, "", "" },
/* Toggle filter mode */


Chargement…
Annuler
Enregistrer