aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-01-28 11:33:12 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-01-28 11:34:18 +0530
commit6da9d5f499e133ef693ab743d65e2fc79cc08d24 (patch)
treedf4b5962ae2f0c212e5d21d18f633435afe82fcf /README.md
parentff502f0b3ed620d74831cd654d5cbfce595c0770 (diff)
downloadnnn-6da9d5f499e133ef693ab743d65e2fc79cc08d24.tar.gz
Support file path quote on copy
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 52c188f..4ff2405 100644
--- a/README.md
+++ b/README.md
@@ -247,6 +247,7 @@ optional arguments:
^F | Extract archive
^K | Invoke file path copier
^Y | Toggle multi-copy mode
+ ^T | Toggle path quote
^L | Redraw, clear prompt
? | Help, settings
Q | Quit and cd
@@ -369,6 +370,11 @@ To copy multiple file paths, switch to the multi-copy mode using <kbd>^Y</kbd>.
Pressing <kbd>^Y</kbd> again copies the paths to clipboard and exits the multi-copy mode.
+To wrap each file path within single quotes, export `NNN_QUOTE_ON`:
+
+ export NNN_QUOTE_ON=1
+This is particularly useful if you are planning to copy the whole string to the shell to run a command. Quotes can be toggled at runtime using <kbd>^T</kbd>.
+
#### change dir color
The default color for directories is blue. Option `-c` accepts color codes from 0 to 7 to use a different color: