More examples. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 69987ee5a8f00c4bdaf7bec8daab8fa5b2152d6d | |
parent 12d1fe401c43caeb53ba6ae4763e8dd2660f9993 | |
Author: Rob King <[email protected]> | |
Date: Fri, 12 Aug 2016 13:46:07 -0500 | |
More examples. | |
Diffstat: | |
commands.h.def | 9 ++++++++- | |
1 file changed, 8 insertions(+), 1 deletion(-) | |
--- | |
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 logica… | |
+{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}, |