nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c97573354d2dd5e2652ff3928ef11187317a407f
parent ccb320d6274d73017d2cab070732788a23fda66c
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 15 Apr 2017 06:51:10 +0530

Add 'How to', devs sections

Diffstat:
MREADME.md | 18++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -32,8 +32,10 @@ Noice is Not Noice, a noicer fork... - [Filters](#filters) - [File type abbreviations](#file-type-abbreviations) - [Help](#help) -- [Copy current file path to clipboard](#copy-current-file-path-to-clipboard) -- [Change file associations](#change-file-associations) +- [How to](#how-to) + - [Copy current file path to clipboard](#copy-current-file-path-to-clipboard) + - [Change file associations](#change-file-associations) +- [Developers](#developers) ### Introduction @@ -247,7 +249,9 @@ The following abbreviations are used in the detail view: $ man nnn To lookup keyboard shortcuts at runtime, press `?`. -### Copy current file path to clipboard +### How to + +#### Copy current file path to clipboard nnn can pipe the absolute path of the current file to a copier script. For example, you can use `xsel` on Linux or `pbcopy` on OS X. @@ -263,6 +267,12 @@ export `NNN_OPENER`: Start nnn and use `^K` to copy the absolute path (from `/`) of the file under the cursor to clipboard. -### Change file associations +#### Change file associations If you want to set custom applications for certain mime types, or change the ones set already (e.g. vi, mpv, zathura), modify the `assocs` structure in [config.def.h](https://github.com/jarun/nnn/blob/master/config.def.h) (it's easy). Then re-compile and install. + +### Developers + +1. Copyright © 2014-2016 Lazaros Koromilas +2. Copyright © 2014-2016 Dimitris Papastamos +3. Copyright © 2016-2017 [Arun Prakash Jana](https://github.com/jarun)