texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7673] document --vi-keys as an infokey file


From: gavinsmith0123
Subject: [7673] document --vi-keys as an infokey file
Date: Sun, 19 Feb 2017 07:39:38 -0500 (EST)

Revision: 7673
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7673
Author:   gavin
Date:     2017-02-19 07:39:37 -0500 (Sun, 19 Feb 2017)
Log Message:
-----------
document --vi-keys as an infokey file

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/info-stnd.texi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-02-18 13:02:16 UTC (rev 7672)
+++ trunk/ChangeLog     2017-02-19 12:39:37 UTC (rev 7673)
@@ -1,3 +1,11 @@
+2017-02-19  Gavin Smith  <address@hidden>
+
+       * doc/info-stnd.texi (infokey format): Document the --vi-keys 
+       key bindings here.
+       (Invoking Info) <--vi-keys>: Refer to 'infokey format' node.
+       (Miscellaneous Commands) <get-info-help-node>: Don't say that
+       info.texi is distributed with GNU Info.
+
 2017-02-05  Gavin Smith  <address@hidden>
 
        * info/session.c (forward_move_node_structure) 

Modified: trunk/doc/info-stnd.texi
===================================================================
--- trunk/doc/info-stnd.texi    2017-02-18 13:02:16 UTC (rev 7672)
+++ trunk/doc/info-stnd.texi    2017-02-19 12:39:37 UTC (rev 7673)
@@ -545,9 +545,9 @@
 @cindex vi-like key bindings
 @cindex Less-like key bindings
 This option binds functions to keys differently, to emulate the key
-bindings of @code{vi} and Less.  The default key bindings are generally
-modeled after Emacs.  (@xref{Custom Key Bindings} for a more general way 
-of altering GNU Info's key bindings.)
+bindings of @code{vi} and Less.  The bindings activated by this option
+are documented in @address@hidden format}.  (@xref{Custom Key Bindings} 
+for a more general way of altering GNU Info's key bindings.)
 
 @item --where
 @itemx --location
@@ -1932,7 +1932,7 @@
 @kindex M-h, vi-like operation
 @findex get-info-help-node
 Try hard to visit the node @code{(info)Help}.  The Info file
address@hidden distributed with GNU Info (and GNU Emacs) contains
address@hidden distributed with GNU Emacs contains
 this node.  Of course, the file must first be processed with
 @code{makeinfo}, and then placed into the location of your Info directory.
 
@@ -2476,36 +2476,77 @@
 @cindex @file{.infokey} format
 @cindex format of @file{.infokey}
 
-The format of the @file{.infokey} file is most easily illustrated by
-example.  For instance, here is a sample init file suitable for aficionados
-of @command{vi} or @command{less}:
+Here is an example @file{.infokey} file which specifies the key
+bindings that are activated by the @option{--vi-keys} option to Info 
+(@pxref{--vi-keys}).
 
 @example
 #info
+g       beginning-of-node
+G       end-of-node
+\mb     beginning-of-node
+\me     end-of-node
 j       next-line
 k       prev-line
-l       forward-char
-h       backward-char
+
+f       scroll-forward-page-only
+^f      scroll-forward-page-only
+\m\     scroll-forward-page-only
+z       scroll-forward-page-only-set-window
+
+b       scroll-backward
+^b      scroll-backward-page-only
+w       scroll-backward-page-only-set-window
+
 \kd     down-line
+^e      down-line
+^j      down-line
+^m      down-line
 \ku     up-line
-\       scroll-forward
-\kD     scroll-forward-page-only
-b       scroll-backward
-\kU     scroll-backward-page-only
-g       beginning-of-node
-\kh     beginning-of-node
-G       end-of-node
-\ke     end-of-node
-\t      select-reference-this-line
--       history-node
-n       next-node
-p       prev-node
-u       up-node
-t       top-node
-d       dir-node
-\mu     clear-search
-#var
-highlight-searches=On
+^y      up-line
+^k      up-line
+
+d       scroll-half-screen-down
+^d      scroll-half-screen-down
+u       scroll-half-screen-up
+^u      scroll-half-screen-up
+
+^xn     next-node
+^xu     up-node
+'       last-node
+\mt     top-node
+\md     dir-node
+
+^xg     goto-node
+I       goto-invocation-node
+
+n       search-next
+N       search-previous
+
+\mf     xref-item
+\xr     xref-item
+
+\mf     select-reference-this-line
+^x^j    select-reference-this-line
+^x^m    select-reference-this-line
+
+^c      abort-key
+
+\mh     get-info-help-node
+
+:q      quit
+ZZ      quit
+
+#echo-area
+\mh     echo-area-forward
+\ml     echo-area-backward
+\m0     echo-area-beg-of-line
+\m$     echo-area-end-of-line
+\mw     echo-area-forward-word
+\mx     echo-area-delete
+\mu     echo-area-abort
+^v      echo-area-quoted-insert
+\mX     echo-area-kill-word
 @end example
 
 The file consists of one or more @dfn{sections}.  Each section starts with




reply via email to

[Prev in Thread] Current Thread [Next in Thread]