More examples. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 69987ee5a8f00c4bdaf7bec8daab8fa5b2152d6d
 (DIR) parent 12d1fe401c43caeb53ba6ae4763e8dd2660f9993
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Fri, 12 Aug 2016 13:46:07 -0500
       
       More examples.
       
       Diffstat:
         commands.h.def                      |       9 ++++++++-
       
       1 file changed, 8 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/commands.h.def b/commands.h.def
       @@ -13,6 +13,7 @@
         *
         * Available commands are:
         *
       + * Cnone        - ignore the key
         * Clineup      - move up by line
         * Clinedown    - move down by line
         * Ccharright   - move right by character
       @@ -51,7 +52,7 @@
        {COMMANDMASK, XK_space,         Kcommand, Cescape},
        {0,           XK_Escape,        Kcommand, Cjump}, */
        
       -/* Less commonly changed commands. */
       +/* Less commonly changed commands. See below for a common change. */
        {0,           XK_Up,            Kcommand, Cscrollup},
        {0,           XK_Prior,         Kcommand, Cscrollup},
        {0,           XK_Left,          Kcommand, Cscrollup},
       @@ -60,6 +61,12 @@
        {0,           XK_Right,         Kcommand, Cscrolldown},
        {0,           XK_Escape,        Kcommand, Cescape},
        
       +/* Some users might like to make the arrow keys move the selection more logically.
       +{0,           XK_Up,            Kcommand, Cscrollup},
       +{0,           XK_Down,          Kcommand, Cscrolldown},
       +{0,           XK_Left,          Kcommand, Ccharleft},
       +{0,           XK_Right,         Kcommand, Ccharright}, */
       +
        /* You probably shouldn't change these. */
        {0,           XK_BackSpace,     Kcommand, Cdel},
        {0,           XK_Delete,        Kcommand, Cdel},