From 167a334f2c40aeef4250769b484219d1f9f53efd Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 18 Jan 2018 19:33:28 -0700 Subject: [PATCH] alt-u & alt-d: up & down in history; readme update --- README.md | 9 ++++++++- config.def.h | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) 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} }, }; /*