]> Sergey Matveev's repositories - nnn.git/commitdiff
Update docs
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 29 Nov 2019 20:51:59 +0000 (02:21 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 29 Nov 2019 20:51:59 +0000 (02:21 +0530)
README.md
misc/quitcd/quitcd.bash
misc/quitcd/quitcd.csh
misc/quitcd/quitcd.fish
misc/quitcd/quitcd.zsh
nnn.1

index 9e776c2356e5f5ebfe85e790344556fa043780c0..69d095106ebd8cff129d68a60bd8132a0c4e2187 100644 (file)
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)!
   - Spawn a shell, run apps, run commands, execute file
   - Hovered file set as `$nnn` at prompt and spawned shell
   - Lock terminal (needs a locker)
+- Privacy-aware (no user information stored)
 - Minimal deps, minimal config
 - Widely available
 - Unicode support
@@ -149,7 +150,7 @@ There is no config file. Associated files are stored under `${XDG_CONFIG_HOME:-$
 | --- | --- |
 | `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_PLUG='o:fzopen;m:nmount;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 |
index 5ea82c4519cff73c1ed571682b02e5c62b055ef8..43908dbdec8d194ce7334f634c4dbc502b9e7c46 100644 (file)
@@ -8,6 +8,7 @@ n ()
 
     # The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
     # To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn
+    # NOTE: NNN_TMPFILE is fixed, should not be modified
     export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
 
     # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
index 9806cefb6b41e872ccacf32c86034460f82d7588..5341b19a5f85ac2c8b3bcfd020e6241557d6499f 100644 (file)
@@ -2,6 +2,7 @@
 
 # The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
 # To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn
+# NOTE: NNN_TMPFILE is fixed, should not be modified
 set NNN_TMPFILE=~/.config/nnn/.lastd
 
 # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
index 3053656ab3ce71d7ef1eff5da833df84749f2fb1..5b9cd62b8e492f8ce74f35012ee0586ca3b2809b 100644 (file)
@@ -11,6 +11,7 @@ function n --description 'support nnn quit and change directory'
 
     # The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
     # To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn
+    # NOTE: NNN_TMPFILE is fixed, should not be modified
     if test -n "$XDG_CONFIG_HOME"
         set -x NNN_TMPFILE "$XDG_CONFIG_HOME/nnn/.lastd"
     else
index 5ea82c4519cff73c1ed571682b02e5c62b055ef8..43908dbdec8d194ce7334f634c4dbc502b9e7c46 100644 (file)
@@ -8,6 +8,7 @@ n ()
 
     # The default behaviour is to cd on quit (nnn checks if NNN_TMPFILE is set)
     # To cd on quit only on ^G, export NNN_TMPFILE after the call to nnn
+    # NOTE: NNN_TMPFILE is fixed, should not be modified
     export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
 
     # Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
diff --git a/nnn.1 b/nnn.1
index 7e7f3eb2939c1c9ead2c7b60c73533e5273f56c8..04904844fd8199ceb4a93973c00935973171a6ac 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -192,7 +192,7 @@ when dealing with the !, e and p commands respectively. A single combination to
     To assign keys to arbitrary non-background non-shell-interpreted cli
     commands and invoke like plugins, add \fI_\fR (underscore) before the command.
 .Bd -literal
-    export NNN_PLUG='x:_chmod +x $nnn;g:_git log;s:_smplayer $nnn;o:fzopen'
+    export NNN_PLUG='x:_chmod +x $nnn;g:_git log;s:_smplayer $nnn;o:fzopen;m:nmount'
 
     NOTES:
     1. Use single quotes for $NNN_PLUG so $nnn is not interpreted