From 909828f49c4f24955a80c58be60801cfa5ad1f87 Mon Sep 17 00:00:00 2001 From: speedie Date: Sun, 2 Apr 2023 00:54:06 +0200 Subject: [PATCH] allow switching profile in any mode --- keybinds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keybinds.h b/keybinds.h index 5d783f6..0ffb658 100644 --- a/keybinds.h +++ b/keybinds.h @@ -49,6 +49,7 @@ static Key keys[] = { { -1, CONTROL, XK_Right, moveword, {.i = +1 } }, { -1, 0, XK_Left, movecursor, {.i = -1 } }, { -1, 0, XK_Right, movecursor, {.i = +1 } }, + { -1, CONTROL|SHIFT, XK_p, setprofile, {0} }, /* normal mode */ { 0, 0, XK_i, switchmode, {0} }, @@ -92,7 +93,6 @@ static Key keys[] = { { 0, SHIFT, XK_g, moveend, {0} }, { 0, 0, XK_Next, movenext, {0} }, { 0, 0, XK_Prior, moveprev, {0} }, - { 0, CONTROL|SHIFT, XK_p, setprofile, {0} }, { 0, MODIFIER1, XK_p, navhistory, {.i = -1 } }, { 0, MODIFIER1, XK_n, navhistory, {.i = +1 } },