summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke@lukesmith.xyz>2018-01-18 19:33:28 -0700
committerLuke <luke@lukesmith.xyz>2018-01-18 19:33:28 -0700
commit167a334f2c40aeef4250769b484219d1f9f53efd (patch)
tree0c895fb66aa2f1f313c940b70efd9619a2df5bac
parent8b29be268a7415399f25dcc8d1bff955b5152665 (diff)
alt-u & alt-d: up & down in history; readme update
-rw-r--r--README.md9
-rw-r--r--config.def.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index aaf5a60..b101388 100644
--- a/README.md
+++ b/README.md
@@ -10,12 +10,19 @@ Forked from [https://github.com/shiva/st](https://github.com/shiva/st) for simpl
## My additions
++ Default font is system "mono" at 14pt
++ Toggle light/dark mode now Alt-Tab instead of the frequently conflicting F6
++ Alt-k and Alt-j scroll back/foward in history one line at a time
++ Alt-u and Alt-d scroll back/foward in history a page at a time
+
+
Right now, I've just made the default font the system "mono" at size 14, and I've remapped the key to toggle the light/dark color scheme to Alt-Tab. It originally was F6, which is too often mapped by some other program.
## Terminal-specific mappings
+(Additions before me.)
+
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
-+ Toggle light/dark mode -- Alt+Tab
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
+ Return to default dont size -- Shift+Alt+Home
+ Paste -- Shift+Insert
diff --git a/config.def.h b/config.def.h
index 33781e4..6bfd626 100644
--- a/config.def.h
+++ b/config.def.h
@@ -201,6 +201,8 @@ static Shortcut shortcuts[] = {
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ MODKEY, XK_k, kscrollup, {.i = 1} },
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
+ { MODKEY, XK_u, kscrollup, {.i = -1} },
+ { MODKEY, XK_d, kscrolldown, {.i = -1} },
};
/*