mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-22 07:04:45 +00:00
Add support for xterm CtrlPgUp and CtrlPgDn keys.
This commit is contained in:
parent
4aeb4c78ac
commit
d38055f825
1 changed files with 4 additions and 0 deletions
|
|
@ -237,6 +237,8 @@ var bindingKeys = map[string]tcell.Key{
|
|||
"CtrlRightSq": tcell.KeyCtrlRightSq,
|
||||
"CtrlCarat": tcell.KeyCtrlCarat,
|
||||
"CtrlUnderscore": tcell.KeyCtrlUnderscore,
|
||||
"CtrlPageUp": tcell.KeyCtrlPgUp,
|
||||
"CtrlPageDown": tcell.KeyCtrlPgDn,
|
||||
"Tab": tcell.KeyTab,
|
||||
"Esc": tcell.KeyEsc,
|
||||
"Escape": tcell.KeyEscape,
|
||||
|
|
@ -485,6 +487,8 @@ func DefaultBindings() map[string]string {
|
|||
"CtrlEnd": "CursorEnd",
|
||||
"PageUp": "CursorPageUp",
|
||||
"PageDown": "CursorPageDown",
|
||||
"CtrlPageUp": "PreviousTab",
|
||||
"CtrlPageDown": "NextTab",
|
||||
"CtrlG": "ToggleHelp",
|
||||
"CtrlR": "ToggleRuler",
|
||||
"CtrlL": "JumpLine",
|
||||
|
|
|
|||
Loading…
Reference in a new issue