diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 6ede5a2a..4abc564b 100644 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -175,6 +175,7 @@ DEFAULTS = { 'reset' : 'r', 'reset_clear' : 'g', 'hide_window' : 'a', + 'create_group' : '', 'group_all' : 'g', 'group_all_toggle' : '', 'ungroup_all' : 'g', diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index 89232b6d..cce7e8dc 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -154,6 +154,7 @@ class PrefsEditor: 'reset' : _('Reset the terminal'), 'reset_clear' : _('Reset and clear the terminal'), 'hide_window' : _('Toggle window visibility'), + 'create_group' : _('Create new group'), 'group_all' : _('Group all terminals'), 'group_all_toggle' : _('Group/Ungroup all terminals'), 'ungroup_all' : _('Ungroup all terminals'), diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 82997aa4..e8876518 100644 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1875,6 +1875,9 @@ class Terminal(Gtk.VBox): def key_reset_clear(self): self.vte.reset (True, True) + def key_create_group(self): + self.titlebar.create_group() + def key_group_all(self): self.emit('group-all')