Commit Graph

33 Commits

Author SHA1 Message Date
Markus Frosch
23135f2ca5 Fix shebang and executable flag for all scripts 2020-04-05 16:36:06 +02:00
Emilio Pozuelo Monfort
a3a67385fd Adopt patch "python3" from Debian
https://bugs.launchpad.net/terminator/+bug/1662544
2020-04-05 14:07:13 +02:00
Stephen Boddy
27febfc6cb Revert 1709 for now. It breaks other keyboard actions 2017-02-02 17:04:14 +01:00
Stephen Boddy
2d063546a8 Fix keybindings that use the shift modifier 2017-02-01 08:55:54 +01:00
Stephen Boddy
4a29840e7b Add the one liner to enable the Hyper modifier (Steven Keuchel) 2016-12-12 17:49:01 +01:00
Stephen Boddy
da37f398fa Fix terminator not working with default python3 by forcing python2 2016-11-25 02:29:55 +01:00
Stephen Boddy
22ed84abdd Apply terminator-gtk3-vte038-v4.patch from Egmont Koblinger 2014-09-19 16:10:43 +02:00
Stephen Boddy
7ca6dd96c6 Changes made by pygi-convert.sh 2014-09-19 16:08:08 +02:00
Thomas Hurst
5de8d10ea9 Keybindings: Parse <Primary> as <Control> 2012-05-17 00:08:38 +01:00
Thomas Hurst
61727e35c4 Don't silently consume keybinding errors. Drop superfluous code from exception and fix the guard clause that was allowing empty bindings to reach the parse stage. 2012-05-17 00:02:16 +01:00
Chris Jones
22c2d64707 remove an unused variable and shorten a line to appease pylint 2010-01-22 19:00:53 +00:00
Chris Jones
dbe683e259 hey look it's 2010 already 2010-01-04 23:56:28 +00:00
Chris Jones
0b5ac38793 Hand merge in from trunk 2009-12-19 02:08:35 +00:00
Chris Jones
cd1d858d3c Start making keybindings work in Terminal(). They don't work yet 2009-10-14 13:05:07 +01:00
Chris Jones
dcd997b3de Allow a keybinding to be set to a string value of None so it can be deconfigured. Also supports clearing a keybinding through the prefs profile. Closes LP #391778 2009-07-22 09:40:35 +01:00
Chris Jones
69265ec036 Add keybindings for group_all, ungroup_all, group_tab and ungroup_tab. Closes LP #376351 2009-05-23 18:05:50 +02:00
Chris Jones
1a88613904 Tidy up keybindings.py for pylint ease 2009-05-07 02:06:38 +01:00
Chris Jones
69c2bca7b7 call parent init, just to be safe 2009-05-07 01:44:59 +01:00
Thomas Hurst
58e4722763 Block LOCK_MASK from reaching translate_keyboard_state: <Ctrl><Capslock>E now no longer behaves like <Ctrl><Shift>E, the state of capslock is completely ignored for keybinding purposes. 2009-01-26 16:33:00 +00:00
Thomas Hurst
bc24c98164 Merge in jkakar's quick tab switching branch, with minor changes. To avoid bikeshed issues, the bindings are disabled by default. 2009-01-21 08:29:32 +00:00
Chris Jones
475daf89ef make the keybinding editor prettier and work out when one has changed 2008-11-17 02:08:47 +00:00
Thomas Hurst
e244329725 Make gio optional; it's way too soon to expect everyone to have this. Fix keybindings error handling. 2008-10-28 22:24:42 +00:00
Chris Jones
19619bff98 rework keyboard event lookup failure handling with suggestions from Thomas. Relates to LP #280959 2008-10-13 09:37:26 +01:00
Chris Jones
46774d8f9e Abandon attempts to handle empty keypress events. Relates to LP #280959 2008-10-12 23:42:30 +01:00
Thomas Hurst
0a6acc19dc Ctrl-Tab and Ctrl-Shift-Tab are actually valid keybindings. Teach keybindings.py that some items may have more than one keybinding by supporting optional tuples in defaults. 2008-08-23 23:57:51 +01:00
Thomas Hurst
894ba31880 Handle case changing better. <Ctrl>F now works like <Ctrl>f rather than <Ctrl><Shift>F 2008-08-15 16:20:08 +01:00
Thomas Hurst
fbd862c1aa Make <Ctrl>plus/minus/etc work 2008-08-15 15:46:38 +01:00
Thomas Hurst
c0ab0e3f34 Introduce a cut-down version of my .ini parser; this one doesn't do anything special with indents, and just builds a simple dict on parse. It does introduce the same error handling (other than that for indenting), so some previously working (but highly dubious) configs might break.
Hook up a [keybindings] section, to override the default ones now in config.py; teach TerminatorConfig to merge configured keybindings from available sources; gconf support shouldn't be far away.
2008-08-15 04:11:24 +01:00
Thomas Hurst
c471d636a6 Save a method call. 2008-08-13 02:06:49 +01:00
Thomas Hurst
b02ffdc210 Add a basic scrollback search function, attached to Ctrl-Shift-F for now. Type, hit Enter to search, Enter to continue, and Escape to cancel the search (with the input gadget having focus).
A bit slow because VTE's get_text* API is awful.
2008-08-12 02:12:30 +01:00
Thomas Hurst
be159574d9 We don't need to do a keyname lookup here any more. 2008-08-11 19:08:26 +01:00
Thomas Hurst
e65e396d32 Hook up new keybinding code. Making them configurable shouldn't be far away... 2008-08-11 19:02:14 +01:00
Thomas Hurst
d1787e576d Introduce a class for handling keybindings. Not yet hooked up to anything, but initial tests suggest it works. 2008-08-11 15:30:51 +01:00