Bind Tab and S-Tab to tab switching
This commit is contained in:
parent
190e813d49
commit
8529f24a46
2
NEWS
2
NEWS
|
@ -4,6 +4,8 @@ Unreleased
|
||||||
|
|
||||||
* Implemented mouse drags on the elapsed time gauge and the scrollbar
|
* Implemented mouse drags on the elapsed time gauge and the scrollbar
|
||||||
|
|
||||||
|
* Added Tab and S-Tab bindings to iterate tabs
|
||||||
|
|
||||||
* Added a "z" binding to center the view on the selected item
|
* Added a "z" binding to center the view on the selected item
|
||||||
|
|
||||||
* Added a "?" binding to describe items in various tabs
|
* Added a "?" binding to describe items in various tabs
|
||||||
|
|
3
nncmpp.c
3
nncmpp.c
|
@ -2948,6 +2948,8 @@ g_normal_defaults[] =
|
||||||
{ "C-l", ACTION_REDRAW },
|
{ "C-l", ACTION_REDRAW },
|
||||||
{ "M-Tab", ACTION_TAB_LAST },
|
{ "M-Tab", ACTION_TAB_LAST },
|
||||||
{ "F1", ACTION_TAB_HELP },
|
{ "F1", ACTION_TAB_HELP },
|
||||||
|
{ "S-Tab", ACTION_TAB_PREVIOUS },
|
||||||
|
{ "Tab", ACTION_TAB_NEXT },
|
||||||
{ "C-Left", ACTION_TAB_PREVIOUS },
|
{ "C-Left", ACTION_TAB_PREVIOUS },
|
||||||
{ "C-Right", ACTION_TAB_NEXT },
|
{ "C-Right", ACTION_TAB_NEXT },
|
||||||
{ "C-PageUp", ACTION_TAB_PREVIOUS },
|
{ "C-PageUp", ACTION_TAB_PREVIOUS },
|
||||||
|
@ -5951,6 +5953,7 @@ x11_convert_keysym (KeySym keysym)
|
||||||
{
|
{
|
||||||
case XK_BackSpace: return TERMO_SYM_BACKSPACE;
|
case XK_BackSpace: return TERMO_SYM_BACKSPACE;
|
||||||
case XK_Tab: return TERMO_SYM_TAB;
|
case XK_Tab: return TERMO_SYM_TAB;
|
||||||
|
case XK_ISO_Left_Tab: return TERMO_SYM_TAB;
|
||||||
case XK_Return: return TERMO_SYM_ENTER;
|
case XK_Return: return TERMO_SYM_ENTER;
|
||||||
case XK_Escape: return TERMO_SYM_ESCAPE;
|
case XK_Escape: return TERMO_SYM_ESCAPE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue