Support gnome-terminal shortcuts for copy and paste
This commit is contained in:
parent
25aec218e9
commit
aa55d4d7b5
@ -279,6 +279,12 @@ class TerminatorTerm:
|
||||
elif keyname == 'W':
|
||||
self.term.closeterm (self)
|
||||
return (True)
|
||||
elif keyname == 'C':
|
||||
self._vte.copy_clipboard ()
|
||||
return (True)
|
||||
elif keyname == 'V':
|
||||
self._vte.paste_clipboard ()
|
||||
return (True)
|
||||
|
||||
if keyname and (keyname == 'Tab' or keyname.endswith('_Tab')):
|
||||
if event.state == gtk.gdk.CONTROL_MASK:
|
||||
|
Loading…
Reference in New Issue
Block a user