aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-12 03:04:17 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-12 03:08:16 +0530
commit81380ff8d474dfa71a9d7ac914a27779c8caaf02 (patch)
tree7228d697494a5a242bb8ec57b51bed331a80ef52 /nnn.1
parent642af4667ccd0b7cecb31f3b76f366a0d5333a32 (diff)
downloadnnn-81380ff8d474dfa71a9d7ac914a27779c8caaf02.tar.gz
Use ^B as the Leader key
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.120
1 files changed, 11 insertions, 9 deletions
diff --git a/nnn.1 b/nnn.1
index 1c9b2ae..4ebb392 100644
--- a/nnn.1
+++ b/nnn.1
@@ -64,13 +64,13 @@ Pin current directory
.It Ic ^V
Visit pinned directory
.It Ic ^B
-Show key prompt (recognizes bookmark keys, ~, -, & and context IDs)
-.It Ic ^L
-Force a redraw, clear prompt
+Leader key
+.It Ic LeaderN
+Switch to context N
.It Ic Esc
Exit prompt
-.It Ic ^Bn
-Switch to context n
+.It Ic ^L
+Force a redraw, clear prompt
.It Ic q
Quit the current context
.It Ic ^G
@@ -261,10 +261,12 @@ To list the file paths copied to memory press \fIy\fR.
The SHELL, EDITOR (VISUAL, if defined) and PAGER environment variables take precedence
when dealing with the !, e and p commands respectively.
.Pp
-\fBNNN_BMS:\fR bookmark string as \fIkey:location\fR pairs (max 10) separated by
+\fBNNN_BMS:\fR bookmark string as \fIkey_char:location\fR pairs (max 10) separated by
\fI;\fR:
.Bd -literal
- export NNN_BMS='doc:~/Documents;u:/home/user/Cam Uploads;D:~/Downloads/'
+ export NNN_BMS='d:~/Documents;u:/home/user/Cam Uploads;D:~/Downloads/'
+
+ NOTE: Bookmark keys should be single-character to use them in combination with the Leader key.
.Ed
.Pp
\fBNNN_USE_EDITOR:\fR use EDITOR (preferably CLI, fallback vi) to handle text
@@ -284,9 +286,9 @@ files.
IFS=
echo -n $1 | xsel --clipboard --input
-------------------------------------
+
+ If it's not set, by default file paths are copied to the tmp file \fBDIR/.nnncp\fR, where 'DIR' (by priority) is: \fI$HOME\fR or, \fI$TMPDIR\fR or, \fI/tmp\fR.
.Ed
-.br
-If it's not set, by default file paths are copied to the tmp file \fBDIR/.nnncp\fR, where 'DIR' (by priority) is: \fI$HOME\fR or, \fI$TMPDIR\fR or, \fI/tmp\fR.
.Pp
\fBNNN_QUOTE_ON:\fR wrap copied paths within single quotes. Useful for pasting
names in the shell. Note that the filename is not escaped. So copying may still fail