alt-u & alt-d: up & down in history; readme update
This commit is contained in:
parent
8b29be268a
commit
167a334f2c
|
@ -10,12 +10,19 @@ Forked from [https://github.com/shiva/st](https://github.com/shiva/st) for simpl
|
||||||
|
|
||||||
## My additions
|
## 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.
|
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
|
## Terminal-specific mappings
|
||||||
|
|
||||||
|
(Additions before me.)
|
||||||
|
|
||||||
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
|
+ Scroll through history -- Shift+PageUp/PageDown or Shift+Mouse wheel
|
||||||
+ Toggle light/dark mode -- Alt+Tab
|
|
||||||
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
|
+ Increase/decrease font size -- Shift+Alt+PageUp/PageDown
|
||||||
+ Return to default dont size -- Shift+Alt+Home
|
+ Return to default dont size -- Shift+Alt+Home
|
||||||
+ Paste -- Shift+Insert
|
+ Paste -- Shift+Insert
|
||||||
|
|
|
@ -201,6 +201,8 @@ static Shortcut shortcuts[] = {
|
||||||
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
|
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
|
||||||
{ MODKEY, XK_k, kscrollup, {.i = 1} },
|
{ MODKEY, XK_k, kscrollup, {.i = 1} },
|
||||||
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
|
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
|
||||||
|
{ MODKEY, XK_u, kscrollup, {.i = -1} },
|
||||||
|
{ MODKEY, XK_d, kscrolldown, {.i = -1} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user