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
5bebd4ac67
commit
8c096dad28
|
@ -30,7 +30,7 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)!
|
|||
- File picker, (neo)vim plugin
|
||||
- Navigation
|
||||
- *Navigate-as-you-type* with dir auto-select
|
||||
- Contexts (_aka_ tabs/workspaces) with configurable colors
|
||||
- Contexts (_aka_ tabs/workspaces) with custom colors
|
||||
- Sessions, bookmarks; pin and visit a dir
|
||||
- Familiar shortcuts (arrows, <kbd>~</kbd>, <kbd>-</kbd>, <kbd>@</kbd>), quick reference
|
||||
- CD on quit (*easy* shell integration)
|
||||
|
@ -50,7 +50,7 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)!
|
|||
- Detailed file information
|
||||
- Media information (using plugin)
|
||||
- Convenience
|
||||
- Run plugins (or commands) with configurable keybinds
|
||||
- Run plugins and commands with custom keybinds
|
||||
- FreeDesktop compliant trash (needs trash-cli)
|
||||
- SSHFS mounts (needs sshfs)
|
||||
- Cross-dir file/all/range selection
|
||||
|
@ -147,7 +147,7 @@ There is no config file. Associated files are stored under `${XDG_CONFIG_HOME:-$
|
|||
| Example `export` | Description |
|
||||
| --- | --- |
|
||||
| `NNN_BMS='d:~/Documents;D:~/Docs archive/'` | key-bookmark pairs [max 10] |
|
||||
| `NNN_PLUG='o:fzy-open;p:mocplay;m:nmount;t:thumb'` | key-plugin pairs (<kbd>:key</kbd> to run) [max 15] |
|
||||
| `NNN_PLUG='p:mocplay;m:nmount;t:thumb;x:_chmod +x'` | 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 |
|
||||
|
|
|
@ -14,7 +14,7 @@ The currently available plugins are listed below.
|
|||
| checksum | sh | md5sum,<br>sha256sum | Create and verify checksums |
|
||||
| drag-file | sh | [dragon](https://github.com/mwh/dragon) | Drag and drop files from nnn |
|
||||
| drop-file | sh | [dragon](https://github.com/mwh/dragon) | Drag and drop files into nnn |
|
||||
| fzcd | sh | fzy/fzf<br>(optional fd) | Change to the directory of a file/directory selected by fzy/fzf |
|
||||
| fzcd | sh | fzy/fzf<br>(optional fd) | Change to the directory of a fuzzy-selected file/dir |
|
||||
| fzy-open | sh | fzy, xdg-open | Fuzzy find a file in dir subtree and edit or xdg-open |
|
||||
| getplugs | sh | curl | Update plugins |
|
||||
| gutenread | sh | curl, unzip, w3m<br>[epr](https://github.com/wustho/epr) (optional)| Browse, download, read from Project Gutenberg |
|
||||
|
@ -66,7 +66,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`. You ca
|
|||
|
||||
With this, plugin `fzy-open` can be run with the keybind <kbd>:o</kbd>, `mocplay` can be run with <kbd>:p</kbd> and so on... The key vs. plugin pairs are shown in the help and config screen. Up to 10 plugins can have such keybinds.
|
||||
|
||||
To assign keys to arbitrary commands (non-shell interpreted) and invoke like plugins, add `_` (underscore) before the command. For example:
|
||||
To assign keys to arbitrary commands (non-shell-interpreted) and invoke like plugins, add `_` (underscore) before the command. For example:
|
||||
|
||||
export NNN_PLUG='x:_chmod +x;o:fzy-open'
|
||||
|
||||
|
|
Loading…
Reference in a new issue