st

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 167a334f2c40aeef4250769b484219d1f9f53efd
parent 8b29be268a7415399f25dcc8d1bff955b5152665
Author: Luke <luke@lukesmith.xyz>
Date:   Thu, 18 Jan 2018 19:33:28 -0700

alt-u & alt-d: up & down in history; readme update

Diffstat:
MREADME.md | 9++++++++-
Mconfig.def.h | 2++
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git 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 @@ -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} }, }; /*