add "Close the current terminal" key binding
Summary: First, you must delete the '~/.config/terminology/config/standard/base.cfg'. Key : Ctrl + Shift + End Reviewers: huchi, seoz, billiob Reviewed By: billiob Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D1404
This commit is contained in:
parent
9a6e54dc03
commit
1c64e7c7c5
1
README
1
README
|
@ -49,6 +49,7 @@ Shift+Keypad-Divide = Copy highlight to Clipboard (same as ctrl+c in gui apps)
|
|||
Ctrl+PgUp = switch focus to previous terminal inside a window
|
||||
Ctrl+PgDn = switch focus to next terminal inside a window
|
||||
Ctrl+Shift+t = create new terminal on top of current inside window (tabs)
|
||||
Ctrl+Shift+End = close the focused terminal.
|
||||
Ctrl+Shift+h = toggle displaying the miniview of the history
|
||||
Ctrl+Shift+Home = bring up "tab" switcher
|
||||
Ctrl+Shift+PgUp = split terminal horizontally (1 term above the other)
|
||||
|
|
|
@ -236,6 +236,10 @@ Toggle displaying the miniview of the history.
|
|||
Create a new terminal on top of current inside window (tabs).
|
||||
.
|
||||
.TP
|
||||
.B Ctrl+Shift+End
|
||||
Close the current terminal.
|
||||
.
|
||||
.TP
|
||||
.B Ctrl+Shift+Home
|
||||
Bring up "tab" switcher.
|
||||
.
|
||||
|
|
|
@ -314,6 +314,7 @@ _add_default_keys(Config *config)
|
|||
ADD_KB("Prior", 1, 0, 1, "split_h");
|
||||
ADD_KB("Next", 1, 0, 1, "split_v");
|
||||
ADD_KB("t", 1, 0, 1, "tab_new");
|
||||
ADD_KB("End", 1, 0, 1, "exited");
|
||||
ADD_KB("Home", 1, 0, 1, "tab_select");
|
||||
ADD_KB("c", 1, 0, 1, "copy_clipboard");
|
||||
ADD_KB("v", 1, 0, 1, "paste_clipboard");
|
||||
|
|
|
@ -756,6 +756,13 @@ cb_tab_new(Evas_Object *term)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
cb_exited(Evas_Object *term)
|
||||
{
|
||||
evas_object_smart_callback_call(term, "exited", NULL);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
cb_tab_select(Evas_Object *term)
|
||||
{
|
||||
|
@ -903,6 +910,7 @@ static Shortcut_Action _actions[] =
|
|||
{"split_h", gettext_noop("Split horizontally (new below)"), cb_split_h},
|
||||
{"split_v", gettext_noop("Split vertically (new on right)"), cb_split_v},
|
||||
{"tab_new", gettext_noop("Create a new \"tab\""), cb_tab_new},
|
||||
{"exited", gettext_noop("Close the focused terminal"), cb_exited},
|
||||
{"tab_select", gettext_noop("Bring up \"tab\" switcher"), cb_tab_select},
|
||||
{"tab_1", gettext_noop("Switch to terminal tab 1"), cb_tab_1},
|
||||
{"tab_2", gettext_noop("Switch to terminal tab 2"), cb_tab_2},
|
||||
|
|
Loading…
Reference in New Issue