diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-12-08 14:32:22 +0100 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2016-12-08 14:32:22 +0100 |
commit | 9a5d4ba79de8e0e51ffb56b3dc3c2d9ee86400bf (patch) | |
tree | ef2f906eae4358091c140943b1662bf18accc944 | |
parent | d6d2c4b6d53238e9c9fa431a68ba02c5664fda01 (diff) |
Changed arrows to vim keys
-rw-r--r-- | config-desktop.h | 14 | ||||
-rw-r--r-- | config-laptop.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/config-desktop.h b/config-desktop.h index 1c8bbfe..8ef2404 100644 --- a/config-desktop.h +++ b/config-desktop.h @@ -122,16 +122,16 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_p, spawn, {.v = playercmd } }, { MODKEY|ShiftMask, XK_o, spawn, {.v = weechatcmd } }, { MODKEY|ShiftMask, XK_i, spawn, {.v = editorcmd } }, - { 0, XK_Print, spawn, {.v = scrotcmd } }, + { 0, XK_Print, spawn, {.v = scrotcmd } }, { 0, SEARCH, prodlock, {0} }, - { MODKEY, XK_Left, focusstack, {.i = -1 } }, - { MODKEY, XK_Right, focusstack, {.i = +1 } }, - { MODKEY, XK_Up, incnmaster, {.i = +1 } }, - { MODKEY, XK_Down, incnmaster, {.i = -1 } }, - { MODKEY|ShiftMask, XK_Left, setmfact, {.f = -0.05} }, - { MODKEY|ShiftMask, XK_Right, setmfact, {.f = +0.05} }, + { MODKEY, XK_h, focusstack, {.i = -1 } }, + { MODKEY, XK_l, focusstack, {.i = +1 } }, + { MODKEY, XK_k, incnmaster, {.i = +1 } }, + { MODKEY, XK_j, incnmaster, {.i = -1 } }, + { MODKEY|ShiftMask, XK_h, setmfact, {.f = -0.05} }, + { MODKEY|ShiftMask, XK_l , setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, diff --git a/config-laptop.h b/config-laptop.h index bb59d2d..8220296 100644 --- a/config-laptop.h +++ b/config-laptop.h @@ -131,12 +131,12 @@ static Key keys[] = { { 0, SEARCH, prodlock, {0} }, - { MODKEY, XK_Left, focusstack, {.i = -1 } }, - { MODKEY, XK_Right, focusstack, {.i = +1 } }, - { MODKEY, XK_Up, incnmaster, {.i = +1 } }, - { MODKEY, XK_Down, incnmaster, {.i = -1 } }, - { MODKEY|ShiftMask, XK_Left, setmfact, {.f = -0.05} }, - { MODKEY|ShiftMask, XK_Right, setmfact, {.f = +0.05} }, + { MODKEY, XK_h, focusstack, {.i = -1 } }, + { MODKEY, XK_l, focusstack, {.i = +1 } }, + { MODKEY, XK_k, incnmaster, {.i = +1 } }, + { MODKEY, XK_j, incnmaster, {.i = -1 } }, + { MODKEY|ShiftMask, XK_h, setmfact, {.f = -0.05} }, + { MODKEY|ShiftMask, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, @@ -167,7 +167,7 @@ static Key keys[] = { { 0, VOLUP, spawn, {.v = raisevolumecmd } }, { 0, VOLDOWN, spawn, {.v = lowervolumecmd } }, { 0, VOLMUTE, spawn, {.v = mutevolumecmd } }, - { 0, BLUP, spawn, {.v = raisebrightness } }, + { 0, BLUP, spawn, {.v = raisebrightness } }, { 0, BLDOWN, spawn, {.v = lowerbrightness } }, { MODKEY|ShiftMask, XK_q, killclient, {0} }, |