aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--misc/quitcd/quitcd.bash1
-rw-r--r--misc/quitcd/quitcd.csh1
-rw-r--r--misc/quitcd/quitcd.fish1
-rw-r--r--misc/quitcd/quitcd.zsh1
-rw-r--r--nnn.12
6 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9e776c2..69d0951 100644
--- 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 |
diff --git a/misc/quitcd/quitcd.bash b/misc/quitcd/quitcd.bash
index 5ea82c4..43908db 100644
--- a/misc/quitcd/quitcd.bash
+++ b/misc/quitcd/quitcd.bash
@@ -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/misc/quitcd/quitcd.csh b/misc/quitcd/quitcd.csh
index 9806cef..5341b19 100644
--- a/misc/quitcd/quitcd.csh
+++ b/misc/quitcd/quitcd.csh
@@ -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
diff --git a/misc/quitcd/quitcd.fish b/misc/quitcd/quitcd.fish
index 3053656..5b9cd62 100644
--- a/misc/quitcd/quitcd.fish
+++ b/misc/quitcd/quitcd.fish
@@ -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
diff --git a/misc/quitcd/quitcd.zsh b/misc/quitcd/quitcd.zsh
index 5ea82c4..43908db 100644
--- a/misc/quitcd/quitcd.zsh
+++ b/misc/quitcd/quitcd.zsh
@@ -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 7e7f3eb..0490484 100644
--- 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