mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update docs
This commit is contained in:
parent
8e9c4ec88b
commit
9de3a3c2ec
|
@ -122,9 +122,9 @@ It runs smoothly on the Pi, [Termux](https://www.youtube.com/watch?v=AbaauM7gUJw
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
1. [Install](https://github.com/jarun/nnn/wiki/Usage#installation) `nnn` and deps (if you need any).
|
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. Configure [cd on quit](https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit).
|
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. 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.
|
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).
|
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.
|
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`).
|
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
1
nnn.1
|
@ -193,6 +193,7 @@ Special keys at filter prompt:
|
||||||
------ + ---------------------------------------
|
------ + ---------------------------------------
|
||||||
^char | Usual keybind functionality
|
^char | Usual keybind functionality
|
||||||
Esc | Exit filter prompt but skip dir refresh
|
Esc | Exit filter prompt but skip dir refresh
|
||||||
|
F5 | Exit filter prompt and refresh dir
|
||||||
------ + ---------------------------------------
|
------ + ---------------------------------------
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|
|
@ -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
|
#### 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
|
```sh
|
||||||
export NNN_PLUG='m:-mediainf'
|
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
|
## Running commands as plugin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue