Add keybindings for group_all, ungroup_all, group_tab and ungroup_tab. Closes LP #376351
This commit is contained in:
parent
e77a3e6c07
commit
69265ec036
|
@ -162,6 +162,18 @@ Reset terminal state
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl+Shift+G
|
.B Ctrl+Shift+G
|
||||||
Reset terminal state and clear window
|
Reset terminal state and clear window
|
||||||
|
.TP
|
||||||
|
.B Super+g
|
||||||
|
Group all terminals so that any input sent to one of them, goes to all of them.
|
||||||
|
.TP
|
||||||
|
.B Super+Shift+G
|
||||||
|
Remove grouping from all terminals.
|
||||||
|
.TP
|
||||||
|
.B Super+t
|
||||||
|
Group all terminals in the current tab so input sent to one of them, goes to all terminals in the current tab.
|
||||||
|
.TP
|
||||||
|
.B Super+Shift+T
|
||||||
|
Remove grouping from all terminals in the current tab.
|
||||||
.SH "Drag and Drop"
|
.SH "Drag and Drop"
|
||||||
The layout can be modified by moving terminals with Drag and Drop.
|
The layout can be modified by moving terminals with Drag and Drop.
|
||||||
To start dragging a terminal, hold down \fBCtrl\fP, click and hold the \fBright\fP mouse button.
|
To start dragging a terminal, hold down \fBCtrl\fP, click and hold the \fBright\fP mouse button.
|
||||||
|
|
|
@ -372,5 +372,21 @@ Default value: \fB<Ctrl><Shift>R\fR
|
||||||
.B reset_clear
|
.B reset_clear
|
||||||
Reset the terminal state and clear the terminal window.
|
Reset the terminal state and clear the terminal window.
|
||||||
Default value: \fB<Ctrl><Shift>G\fR
|
Default value: \fB<Ctrl><Shift>G\fR
|
||||||
|
.TP
|
||||||
|
.B group_all
|
||||||
|
Group all terminals together so input sent to one goes to all of them.
|
||||||
|
Default value: \fB<Super>g\fR
|
||||||
|
.TP
|
||||||
|
.B ungroup_all
|
||||||
|
Remove grouping from all terminals.
|
||||||
|
Default value: \fB<Super><Shift>G\fR
|
||||||
|
.TP
|
||||||
|
.B group_tab
|
||||||
|
Group all terminals in the current tab together so input sent to one goes to all of them.
|
||||||
|
Default value: \fB<Super>t\fR
|
||||||
|
.TP
|
||||||
|
.B ungroup_tab
|
||||||
|
Remove grouping from all terminals in the current tab.
|
||||||
|
Default value: \fB<Super><Shift>T\fR
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR gnome\-terminal(1)
|
.BR gnome\-terminal(1)
|
||||||
|
|
|
@ -165,6 +165,10 @@ DEFAULTS = {
|
||||||
'reset' : '<Ctrl><Shift>R',
|
'reset' : '<Ctrl><Shift>R',
|
||||||
'reset_clear' : '<Ctrl><Shift>G',
|
'reset_clear' : '<Ctrl><Shift>G',
|
||||||
'hide_window' : '<Ctrl><Shift><Alt>a',
|
'hide_window' : '<Ctrl><Shift><Alt>a',
|
||||||
|
'group_all' : '<Super>g',
|
||||||
|
'ungroup_all' : '<Super><Shift>g',
|
||||||
|
'group_tab' : '<Super>t',
|
||||||
|
'ungroup_tab' : '<Super><Shift>T',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,8 @@ class TerminatorKeybindings:
|
||||||
'ctrl': gtk.gdk.CONTROL_MASK,
|
'ctrl': gtk.gdk.CONTROL_MASK,
|
||||||
'control': gtk.gdk.CONTROL_MASK,
|
'control': gtk.gdk.CONTROL_MASK,
|
||||||
'shift': gtk.gdk.SHIFT_MASK,
|
'shift': gtk.gdk.SHIFT_MASK,
|
||||||
'alt': gtk.gdk.MOD1_MASK
|
'alt': gtk.gdk.MOD1_MASK,
|
||||||
|
'super': gtk.gdk.SUPER_MASK,
|
||||||
}
|
}
|
||||||
|
|
||||||
empty = {}
|
empty = {}
|
||||||
|
|
|
@ -1030,6 +1030,18 @@ text/plain
|
||||||
|
|
||||||
def key_reset_clear(self):
|
def key_reset_clear(self):
|
||||||
self._vte.reset (True, True)
|
self._vte.reset (True, True)
|
||||||
|
|
||||||
|
def key_group_all(self):
|
||||||
|
self.group_all(self)
|
||||||
|
|
||||||
|
def key_ungroup_all(self):
|
||||||
|
self.ungroup_all(self)
|
||||||
|
|
||||||
|
def key_group_tab(self):
|
||||||
|
self.group_tab(self)
|
||||||
|
|
||||||
|
def key_ungroup_tab(self):
|
||||||
|
self.ungroup_tab(self)
|
||||||
# End key events
|
# End key events
|
||||||
|
|
||||||
def zoom_orig (self):
|
def zoom_orig (self):
|
||||||
|
|
Loading…
Reference in New Issue