From: Arun Prakash Jana Date: Sun, 24 Nov 2019 13:53:09 +0000 (+0530) Subject: Update docs on -E X-Git-Tag: v2.8~29 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c4483a89563b718c339bb36610f1247ada7602d6;p=nnn.git Update docs on -E --- diff --git a/README.md b/README.md index 50489515..e9d1e774 100644 --- a/README.md +++ b/README.md @@ -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 (:key 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] | diff --git a/nnn.1 b/nnn.1 index 089fc565..393e2396 100644 --- a/nnn.1 +++ b/nnn.1 @@ -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