Switch to Ctrl modifier from Alt modifier for navhistory keys
This commit is contained in:
parent
0409dbff12
commit
453b0028aa
|
@ -792,8 +792,8 @@ These are the default keybinds. You can generate these yourself from a
|
|||
| 0 | Shift | g | moveend | 0 |
|
||||
| 0 | 0 | Next | movenext | 0 |
|
||||
| 0 | 0 | Prior | moveprev | 0 |
|
||||
| 0 | Alt | p | navhistory | -1 |
|
||||
| 0 | Alt | n | navhistory | +1 |
|
||||
| 0 | Ctrl | p | navhistory | -1 |
|
||||
| 0 | Ctrl | n | navhistory | +1 |
|
||||
| 1 | 0 | Escape | switchmode | 0 |
|
||||
|
||||
## .Xresources
|
||||
|
|
|
@ -332,8 +332,8 @@ spmenu = {
|
|||
{ mode = 0; modifier = "Shift"; key = "g"; function = "moveend"; argument = "0"; }, // Shift+g: Move to the end
|
||||
{ mode = 0; modifier = "None"; key = "Next"; function = "movenext"; argument = "0"; }, // Next: Move to the next entry (redo)
|
||||
{ mode = 0; modifier = "None"; key = "Prior"; function = "moveprev"; argument = "0"; }, // Prior: Move to the previous entry (undo)
|
||||
{ mode = 0; modifier = "Alt"; key = "p"; function = "navhistory"; argument = "-1"; }, // Alt+p: Navigate to the previous entry in the history buffer
|
||||
{ mode = 0; modifier = "Alt"; key = "n"; function = "navhistory"; argument = "+1"; }, // Alt+n: Navigate to the next entry in the history buffer
|
||||
{ mode = 0; modifier = "Ctrl"; key = "p"; function = "navhistory"; argument = "-1"; }, // Alt+p: Navigate to the previous entry in the history buffer
|
||||
{ mode = 0; modifier = "Ctrl"; key = "n"; function = "navhistory"; argument = "+1"; }, // Alt+n: Navigate to the next entry in the history buffer
|
||||
|
||||
{ ignoreglobalkeys = 1; } ), // Ignore hardcoded keybinds (0/1)
|
||||
};
|
||||
|
|
|
@ -70,8 +70,8 @@ static Key keys[] = {
|
|||
{ 0, Shift, XK_g, moveend, {0} },
|
||||
{ 0, 0, XK_Next, movenext, {0} },
|
||||
{ 0, 0, XK_Prior, moveprev, {0} },
|
||||
{ 0, Alt, XK_p, navhistory, {.i = -1 } },
|
||||
{ 0, Alt, XK_n, navhistory, {.i = +1 } },
|
||||
{ 0, Ctrl, XK_p, navhistory, {.i = -1 } },
|
||||
{ 0, Ctrl, XK_n, navhistory, {.i = +1 } },
|
||||
|
||||
/* insert mode */
|
||||
{ 1, 0, XK_Escape, switchmode, {0} },
|
||||
|
@ -146,8 +146,8 @@ static WlKey wl_keys[] = {
|
|||
{ 0, WL_Shift, XKB_KEY_g, moveend, {0} },
|
||||
{ 0, WL_None, XKB_KEY_Next, movenext, {0} },
|
||||
{ 0, WL_None, XKB_KEY_Prior, moveprev, {0} },
|
||||
{ 0, WL_Alt, XKB_KEY_p, navhistory, {.i = -1 } },
|
||||
{ 0, WL_Alt, XKB_KEY_n, navhistory, {.i = +1 } },
|
||||
{ 0, WL_Ctrl, XKB_KEY_p, navhistory, {.i = -1 } },
|
||||
{ 0, WL_Ctrl, XKB_KEY_n, navhistory, {.i = +1 } },
|
||||
|
||||
/* insert mode */
|
||||
{ 1, WL_None, XKB_KEY_Escape, switchmode, {0} },
|
||||
|
|
Loading…
Reference in a new issue