aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 14:38:47 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-01-19 14:51:40 +0530
commit366f49e6b3ad73f330e04bbaf8020398292c0a3b (patch)
treeca90ab4f534a198ff04757f91e5ed5dade26f87d /nnn.1
parent772619527f3b235cdb1b3ce13102597300fffc9c (diff)
downloadnnn-366f49e6b3ad73f330e04bbaf8020398292c0a3b.tar.gz
Take notes with N
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.111
1 files changed, 9 insertions, 2 deletions
diff --git a/nnn.1 b/nnn.1
index 5307b2f..c444659 100644
--- a/nnn.1
+++ b/nnn.1
@@ -148,6 +148,8 @@ Execute entry
Run or choose a custom script
.It Ic L
Lock terminal
+.It Ic N
+Take note
.It Ic ^S
Run a command
.El
@@ -278,7 +280,7 @@ files.
.Pp
\fBNNN_CONTEXT_COLORS:\fR string of color codes for each context, e.g.:
.Bd -literal
- export NNN_CONTEXT_COLORS="1234"
+ export NNN_CONTEXT_COLORS='1234'
codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white
.Ed
@@ -292,13 +294,18 @@ files.
The path is shown in the help and configuration screen.
.Ed
.Pp
-\fBNNN_SCRIPT:\fR absolute path to a directory to select a script from or a single script to invoke with currently selected file name as argument 1.
+\fBNNN_SCRIPT:\fR \fIabsolute\fR path to a directory to select a script from or a single script to invoke with currently selected file name as argument 1.
.Bd -literal
export NNN_SCRIPT=/home/user/scripts
OR
export NNN_SCRIPT=/usr/local/bin/nscript.sh
.Ed
.Pp
+\fBNNN_NOTE:\fR \fIabsolute\fR path to a note file.
+.Bd -literal
+ export NNN_NOTE='/home/user/.mynotes'
+.Ed
+.Pp
\fBNNN_SHOW_HIDDEN:\fR show hidden files.
.Bd -literal
export NNN_SHOW_HIDDEN=1