aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-24 21:45:02 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-24 21:45:02 +0530
commit277f156c370bfca23ec87e41bf42ff2a37f7eb6d (patch)
treee8c71e626a765ce8c830bf8b3cdba51fe7198b61 /README.md
parent2934db3482931627f9a1a884f3a03fba643abf40 (diff)
downloadnnn-277f156c370bfca23ec87e41bf42ff2a37f7eb6d.tar.gz
Fix #291
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index a9d2148..81fc3b1 100644
--- a/README.md
+++ b/README.md
@@ -204,6 +204,7 @@ Option completion scripts for Bash, Fish and Zsh can be found in respective subd
| `NNN_BMS='d:~/Documents;D:~/Docs archive/'` | specify bookmarks (max 10) |
| `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_NOTE=/home/user/Dropbox/notes` | path to note file [default: none] |
| `NNN_OPENER=mimeopen` | custom file opener |
| `NNN_IDLE_TIMEOUT=300` | idle seconds before locking terminal [default: disabled] |
@@ -399,6 +400,12 @@ Host phone
The above host `phone` will be mounted at `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/phone`. `nnn` creates the directory `phone` if it doesn't exist.
+If you need to pass options to the `sshfs` command, you can do so:
+
+ export NNN_SSHFS_OPTS='sshfs -o reconnect,idmap=user,cache_timeout=3600'
+
+The options must be preceded by `sshfs` and comma-separated without any space between them.
+
Notes:
1. `nnn` takes you to the mount point after successful mounts. To jump back to the last directory, press the usual <kbd>-</kbd>.