Add `g TAB` as a substitute on terminal for Tab.
This commit is contained in:
parent
c68aed6a96
commit
2762b00c47
|
@ -46,6 +46,7 @@
|
||||||
(kbd "<tab>") 'forward-button
|
(kbd "<tab>") 'forward-button
|
||||||
(kbd "<backtab>") 'backward-button
|
(kbd "<backtab>") 'backward-button
|
||||||
;; This exists because <tab> is recognized as C-i on terminals.
|
;; This exists because <tab> is recognized as C-i on terminals.
|
||||||
|
(kbd "g TAB") 'forward-button
|
||||||
"g]" 'forward-button
|
"g]" 'forward-button
|
||||||
"g[" 'backward-button
|
"g[" 'backward-button
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
(kbd "<tab>") 'Info-next-reference
|
(kbd "<tab>") 'Info-next-reference
|
||||||
(kbd "S-<tab>") 'Info-prev-reference
|
(kbd "S-<tab>") 'Info-prev-reference
|
||||||
;; This exists because <tab> is recognized as C-i on terminals.
|
;; This exists because <tab> is recognized as C-i on terminals.
|
||||||
|
(kbd "g TAB") 'Info-next-reference
|
||||||
"g]" 'Info-next-reference
|
"g]" 'Info-next-reference
|
||||||
"g[" 'Info-prev-reference
|
"g[" 'Info-prev-reference
|
||||||
|
|
||||||
|
|
|
@ -190,9 +190,11 @@ more.
|
||||||
- Tab key
|
- Tab key
|
||||||
- Tab key is recognized as ~<tab>~ in GUI and ~TAB~ in terminal.
|
- Tab key is recognized as ~<tab>~ in GUI and ~TAB~ in terminal.
|
||||||
~TAB~ equals ~C-i~.
|
~TAB~ equals ~C-i~.
|
||||||
- Since ~C-i~ is bound to jumping forward for vim compatibility,
|
- ~C-i~ is bound to jumping forward for vim compatibility.
|
||||||
bind ~g[~ and ~g]~ to the functions that Shift+Tab and Tab
|
If Shift+Tab is not relevant, just bind ~g TAB~ to the function
|
||||||
are bound to on GUI for terminal compatibility.
|
that Tab is bound to. If Shift+Tab is relevant, bind ~g]~ and
|
||||||
|
~g TAB~ to the function that Tab is bound to, and bind ~g[~ to
|
||||||
|
the function that Shift+Tab is bound to for terminal compatibility.
|
||||||
- Enter key
|
- Enter key
|
||||||
- Enter key is recognized as ~<return>~ in GUI and ~RET~ in terminal.
|
- Enter key is recognized as ~<return>~ in GUI and ~RET~ in terminal.
|
||||||
~RET~ equals ~Ctrl+m~.
|
~RET~ equals ~Ctrl+m~.
|
||||||
|
|
Loading…
Reference in New Issue