aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-04-23 23:12:54 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-04-23 23:31:08 +0530
commit00aaee9ff16fba929b8ec629810640b567d78591 (patch)
tree32d80990deda06a66f75ce65e8a68e49f74658fe /nnn.1
parentff18d580c5e3e877e63e819d87af60128931d17d (diff)
downloadnnn-00aaee9ff16fba929b8ec629810640b567d78591.tar.gz
nlay - a highly customizable file handler
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.133
1 files changed, 15 insertions, 18 deletions
diff --git a/nnn.1 b/nnn.1
index 8b74150..4fefe86 100644
--- a/nnn.1
+++ b/nnn.1
@@ -106,9 +106,22 @@ supports the following options:
show program help and exit
.Sh CONFIGURATION
.Nm
+invokes
+.Pa nlay
+to play a file if it recognizes a file by extension.
+.Pa nlay
+is a
+highly customizable bash shell script which invokes a player depending on the
+type of file. Read more on
+.Pa nlay
+at:
+.br
+.Em https://github.com/jarun/nnn/wiki/all-about-nlay
+.Pp
+.Nm
is configured by modifying
-.Pa config.h
-and recompiling the code.
+.Pa config.def.h
+and recompiling the code. config.h is generated as a backup of config.def.h.
.Pp
See the environment and examples sections below for more options and information.
.Pp
@@ -154,22 +167,6 @@ type. Custom associations are listed in the EXAMPLES section below.
echo -n $1 | xsel --clipboard --input
-------------------------------------
.Ed
-.Sh EXAMPLES
-The following example shows one possible configuration for
-file associations which is also the default if environment
-variable NNN_OPENER is not set:
-.Bd -literal
- -----------------------------------------------
- struct assoc assocs[] = {
- { "\\.(c|cpp|h|txt|log|sh)$", "vi" },
- { "\\.(wma|mp3|ogg|flac)$", "mpv" },
- { "\\.pdf$", "zathura" },
- };
- -----------------------------------------------
-Plain text files are opened with vi.
-.br
-Any other file types are opened with the 'xdg-open' command.
-.Ed
.Sh KNOWN ISSUES
If you are using urxvt you might have to set backspacekey to DEC.
.Sh AUTHORS