Florian Bruhin
4ebe643ea6
Use simple enums for constants
2014-05-05 07:45:36 +02:00
Florian Bruhin
efc613811f
Implement numeric hints
2014-05-02 17:53:16 +02:00
Florian Bruhin
836a5e04a5
Allow empty keys in config
2014-05-02 06:59:46 +02:00
Florian Bruhin
53464dcbab
Fix ambigious keybinding detection.
...
Previously we only checked if the *last* char of the current keychain
matches the last char of a binding, which e.g. matched 'la' when we
pressed 'ka'.
Now we simply check if the binding *starts* with the keychain, which
also is easier to do.
2014-05-01 19:48:52 +02:00
Florian Bruhin
995a0d19cc
Clean up command exception handling
2014-04-30 10:43:40 +02:00
Florian Bruhin
8474bbdf6a
Rename and reorder config options
2014-04-27 21:21:14 +02:00
Florian Bruhin
9252ef94ca
Consistent string chars
2014-04-25 16:53:23 +02:00
Florian Bruhin
0a710ab18a
Herpderp, CRLF
2014-04-25 12:34:17 +02:00
Florian Bruhin
6e78f67a81
Rename keyinput stuff
2014-04-25 12:21:01 +02:00
Florian Bruhin
d4b35b6734
Rename {Command,Seach}Parser to *Manager
2014-04-25 12:04:11 +02:00
Florian Bruhin
f437bc25bf
Fix lint/cleanup
2014-04-25 11:21:00 +02:00
Florian Bruhin
7787a67c45
Add modes=[]/not_modes=[] to cmdutils.register
2014-04-25 10:10:58 +02:00
Florian Bruhin
b4b72f07b7
Remove FIXME which is in TODO
2014-04-25 09:22:27 +02:00
Florian Bruhin
c4be264c44
Improve logging in eventFilter
2014-04-25 09:22:01 +02:00
Florian Bruhin
8cba290dae
Update eventFilter to track releases
2014-04-25 09:20:19 +02:00
Florian Bruhin
5ee6b2adfa
Revert "Remove setting forward_unbound_keys."
...
This reverts commit d07e22bd91
.
2014-04-25 08:40:46 +02:00
Florian Bruhin
f50fda7f9a
Replace Backtab key by Tab
2014-04-25 08:40:07 +02:00
Florian Bruhin
3407f3131d
Register enter_mode command
2014-04-25 07:13:36 +02:00
Florian Bruhin
b4033ced8b
Add generic PassthroughKeyParser, remove InsertKeyParser
2014-04-25 07:09:12 +02:00
Florian Bruhin
d07e22bd91
Remove setting forward_unbound_keys.
...
It introduced a lot of unnecessary complexity (e.g. tracking KeyReleases
to their KeyPresses...) for little benefit.
2014-04-25 06:54:17 +02:00
Florian Bruhin
83f829ed93
Add more logging to eventFilter
2014-04-25 06:54:13 +02:00
Florian Bruhin
8f9d7542a6
Fix eventFilter logic to not handle same event multiple times
2014-04-25 06:22:01 +02:00
Florian Bruhin
84682f90fa
Log events in eventHandler
2014-04-25 00:10:07 +02:00
Florian Bruhin
926194849c
Use normal commands for hint mode
2014-04-24 23:47:02 +02:00
Florian Bruhin
540c134f06
Add keytypes to KeyParser.execute()
2014-04-24 23:46:37 +02:00
Florian Bruhin
5aaf3b3430
Add abstract execute() to KeyParser
2014-04-24 23:23:28 +02:00
Florian Bruhin
e06583ade2
Use normal command to leave insert mode
2014-04-24 23:09:12 +02:00
Florian Bruhin
a1fd1537bd
Remove the possibility to pass bindings to KeyParser init
2014-04-24 22:59:01 +02:00
Florian Bruhin
8cca182734
Split NormalKeyParser from CommandKeyParser
2014-04-24 22:56:55 +02:00
Florian Bruhin
0def82fe8c
Fix lint
2014-04-24 22:49:06 +02:00
Florian Bruhin
581b715b42
Add __init__.py for keyinput
2014-04-24 22:41:01 +02:00
Florian Bruhin
7a6a605702
Unify KeyParsers again
2014-04-24 22:40:16 +02:00
Florian Bruhin
9ab8f42e20
s/commandmode/normalmode
2014-04-24 21:37:51 +02:00
Florian Bruhin
ea6a25714a
Make eventFilter work when mode is None
2014-04-24 21:29:28 +02:00
Florian Bruhin
9320c813f7
Add set_cmd_text to MessageBridge
2014-04-24 21:28:24 +02:00
Florian Bruhin
0c15517352
s/<normal>/<leave>/
2014-04-24 21:19:29 +02:00
Florian Bruhin
d2dc0b7ac5
Add KeyParser for normal mode
2014-04-24 21:12:55 +02:00
Florian Bruhin
c674d96cfe
Reorganize input modules into keyinput subpackage
2014-04-24 21:03:45 +02:00