add vim like bindings

This commit is contained in:
Markus Teich 2014-06-23 01:55:25 +02:00
parent 2e435b7da8
commit 800b2ef102

View File

@ -21,6 +21,10 @@ static Shortcut shortcuts[] = {
{ XK_Left, advance, {.i = -1} }, { XK_Left, advance, {.i = -1} },
{ XK_Return, advance, {.i = +1} }, { XK_Return, advance, {.i = +1} },
{ XK_BackSpace, advance, {.i = -1} }, { XK_BackSpace, advance, {.i = -1} },
{ XK_l, advance, {.i = +1} },
{ XK_h, advance, {.i = -1} },
{ XK_j, advance, {.i = +1} },
{ XK_k, advance, {.i = -1} },
{ XK_Down, advance, {.i = +5} }, { XK_Down, advance, {.i = +5} },
{ XK_Up, advance, {.i = -5} }, { XK_Up, advance, {.i = -5} },
{ XK_Next, advance, {.i = +10} }, { XK_Next, advance, {.i = +10} },