Use vim-ish keybindings for scrollback
parent
cb78fe1726
commit
404defffdd
|
@ -1,13 +1,13 @@
|
||||||
diff --git a/config.def.h b/config.def.h
|
diff --git a/config.h b/config.h
|
||||||
index 0895a1f..eef24df 100644
|
index 0895a1f..eef24df 100644
|
||||||
--- a/config.def.h
|
--- a/config.h
|
||||||
+++ b/config.def.h
|
+++ b/config.h
|
||||||
@@ -188,6 +188,8 @@ static Shortcut shortcuts[] = {
|
@@ -188,6 +188,8 @@ static Shortcut shortcuts[] = {
|
||||||
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
|
||||||
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
|
||||||
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
|
||||||
+ { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
|
+ { MODKEY|ShiftMask, XK_K, kscrollup, {.i = -1} },
|
||||||
+ { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
|
+ { MODKEY|ShiftMask, XK_J, kscrolldown, {.i = -1} },
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
Loading…
Reference in New Issue