Update docs

This commit is contained in:
Arun Prakash Jana 2020-05-31 10:15:34 +05:30
parent 8e9c4ec88b
commit 9de3a3c2ec
No known key found for this signature in database
GPG Key ID: A75979F35C080412
3 changed files with 6 additions and 5 deletions

View File

@ -122,9 +122,9 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
## Quickstart
1. [Install](https://github.com/jarun/nnn/wiki/Usage#installation) `nnn` and deps (if you need any).
2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit).
3. Files are opened with the desktop opener by default. Add `-e` in your alias to open text files in `$VISUAL`/`$EDITOR`/ vi. [Open detached](https://github.com/jarun/nnn/wiki/Basic-use-cases#detached-text) if you wish.
1. [Install](https://github.com/jarun/nnn/wiki/Usage#installation) `nnn` and deps (if you need any). All files are opened with the desktop opener by default.
2. Add option `-e` to your alias to open text files in `$VISUAL`/`$EDITOR`/ vi. [Open detached](https://github.com/jarun/nnn/wiki/Basic-use-cases#detached-text) if you wish.
3. Configure [cd on quit](https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit).
4. [Install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins).
5. Use option `-x` to copy selected file paths to system clipboard and show notis on cp, mv, rm completion.
6. For a CLI-only environment, customize and use plugin [`nuke`](https://github.com/jarun/nnn/blob/master/plugins/nuke) with option `-c` (overrides `-e`).

1
nnn.1
View File

@ -193,6 +193,7 @@ Special keys at filter prompt:
------ + ---------------------------------------
^char | Usual keybind functionality
Esc | Exit filter prompt but skip dir refresh
F5 | Exit filter prompt and refresh dir
------ + ---------------------------------------
.Ed
.Pp

View File

@ -93,13 +93,13 @@ To select and invoke a plugin from the plugin directory, press <kbd>Enter</kbd>
#### Skip directory refresh after running a plugin
`nnn` refreshes the directory after running a plugin to reflect any changes by the plugin. To disable this (say while running the `mediainfo` plugin on some filtered files), add a `-` before the plugin name:
`nnn` refreshes the directory after running a plugin to reflect any changes by the plugin. To disable this (say while running the `mediainf` plugin on some filtered files), add a `-` before the plugin name:
```sh
export NNN_PLUG='m:-mediainf'
```
Now `nnn` will not refresh the directory after running the `mediainfo` plugin.
Now `nnn` will not refresh the directory after running the `mediainf` plugin.
## Running commands as plugin