]> Sergey Matveev's repositories - nnn.git/commitdiff
Update man page
authorArun Prakash Jana <engineerarun@gmail.com>
Thu, 27 Feb 2020 14:21:04 +0000 (19:51 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 27 Feb 2020 14:21:04 +0000 (19:51 +0530)
nnn.1

diff --git a/nnn.1 b/nnn.1
index e02ee69b5554e1d436c978804d8e1d8aa0f79de0..a7c9b730457f51ff481a2d8c8cddb84d78565538 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -172,31 +172,48 @@ instantly (\fIsearch-as-you-type\fR). There is a program option to switch to
 regex filters. Matches are case-insensitive by default. In each context the
 last filter is persisted at runtime or in saved sessions.
 .Pp
-Special keys at empty filter prompt:
-.Pp
-- toggle between string and regex: '/'
-.br
-- toggle case sensitivity: ':'
-.br
-- apply the last filter (or clear filter if non-empty): '^L'
-.br
-- show help and config screen: '?'
-.br
-- show command prompt: ']'
-.br
-- launch an application: '='
-.br
-- run a plugin by its key: ';'
-.br
-- pin current directory: ','
-.br
-- go HOME: '~'
+Special keys at filter prompt:
+.Bd -literal
+------ + ---------------------------------------
+  Key  |                Function
+------ + ---------------------------------------
+ ^char | Usual keybind functionality
+ Esc   | Exit filter prompt but skip dir refresh
+------ + ---------------------------------------
+.Ed
 .Pp
-Other noteworthy keys:
+Special keys at \fBempty filter prompt\fR:
+.Bd -literal
+------ + ---------------------------------------
+  Key  |                Function
+------ + ---------------------------------------
+   ?   | Show help and config screen
+   /   | Toggle between string and regex
+   :   | Toggle case-sensitivity
+  ^L   | Clear filter (\fIif prompt is non-empty\fR)
+       | OR apply last filter
+------ + ---------------------------------------
+.Ed
 .Pp
-- '^char': usual keybind functionality
-.br
-- 'Esc': exit filter prompt but skip dir refresh
+Additional special keys at \fBempty filter prompt\fR
+in \fBnav-as-you-type\fR mode:
+.Bd -literal
+------ + ------------------------
+  Key  |         Function
+------ + ------------------------
+   '   | Go to first non-dir file
+   +   | Toggle proceed on open
+   ,   | Pin CWD
+   -   | Go to last visited dir
+   .   | Show hidden files
+   ;   | Run a plugin by its key
+   =   | Launch a GUI application
+   @   | Visit start dir
+   ]   | Show command prompt
+   `   | Visit /
+   ~   | Go HOME
+------ + ------------------------
+.Ed
 .Pp
 Common regex use cases:
 .Pp