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