Update docs on -E

This commit is contained in:
Arun Prakash Jana 2019-11-24 19:23:09 +05:30
parent 5d0af863b5
commit c4483a8956
No known key found for this signature in database
GPG Key ID: A75979F35C080412
2 changed files with 6 additions and 2 deletions

View File

@ -147,12 +147,12 @@ There is no config file. Associated files are stored under `${XDG_CONFIG_HOME:-$
| Example `export` | Description |
| --- | --- |
| `NNN_OPENER=mimeopen` | custom file opener |
| `NNN_BMS='d:~/Documents;D:~/Docs archive/'` | key-bookmark pairs [max 10] |
| `NNN_PLUG='m:nmount;t:imgthumb;x:_chmod +x $nnn'` | key-plugin (or cmd) pairs (<kbd>:key</kbd> to run) [max 15] |
| `NNN_USE_EDITOR=1` | open text files in `$VISUAL` (else `$EDITOR`, fallback vi) |
| `NNN_CONTEXT_COLORS='1234'` | specify per context color [default: '4444' (all blue)] |
| `NNN_SSHFS_OPTS='sshfs -o reconnect,idmap=user'` | specify SSHFS options |
| `NNN_OPENER=mimeopen` | custom file opener |
| `NNN_IDLE_TIMEOUT=300` | idle seconds to lock terminal [default: disabled] |
| `NNN_COPIER=copier` | clipboard copier script [default: none] |
| `NNN_TRASH=1` | trash files to the desktop Trash [default: delete] |

6
nnn.1
View File

@ -11,6 +11,7 @@
.Op Ar -c
.Op Ar -d
.Op Ar -e name
.Op Ar -E
.Op Ar -f
.Op Ar -H
.Op Ar -i
@ -54,7 +55,10 @@ supports the following options:
detail mode
.Pp
.Fl "e name"
Load a session by name
load a session by name
.Pp
.Fl E
use $EDITOR for internal undetached edits
.Pp
.Fl f
run filter as command when the prompt key is pressed