Commit Graph

190 Commits

Author SHA1 Message Date
Florian Bruhin
8e71f0cb8c Use commandparser.parse_check_run() for keys.py 2014-01-22 17:25:47 +01:00
Florian Bruhin
d56344f46a Move some things from x.foo.foo to x.foo (__init__.py) 2014-01-21 15:46:41 +01:00
Florian Bruhin
06b1683033 Add colon in set_cmd 2014-01-21 12:01:28 +01:00
Florian Bruhin
fdf765b267 Implement ScrollPercent{X,Y}, gg and G with count 2014-01-20 17:59:27 +01:00
Florian Bruhin
ac570be7aa Catch ValueError when parsing commands from keybindings 2014-01-20 17:52:39 +01:00
Florian Bruhin
5c8043a275 Add aliases for commands 2014-01-20 17:32:04 +01:00
Florian Bruhin
1373b4dab2 Use multiple CommandParser instances 2014-01-20 17:20:17 +01:00
Florian Bruhin
46e846afb9 Add FIXME 2014-01-20 17:05:56 +01:00
Florian Bruhin
5fce707bb2 Replace scroll{up,down,left,right} by scroll cmd 2014-01-20 17:05:47 +01:00
Florian Bruhin
1a6907b4b0 Refactor command/key handling again 2014-01-20 17:01:15 +01:00
Florian Bruhin
1095e24f98 Refactor ALL the things
- Remove super() where unneeded
 - Add docstrings where applicable
 - Remove setObjectName calls
 - Lots and lots of smaller changes
2014-01-20 15:58:49 +01:00
Florian Bruhin
7ed257467b Start implementing config storage 2014-01-20 12:26:02 +01:00
Florian Bruhin
646ad5efd4 Refactor partial matching in KeyParser._handle() 2014-01-20 09:09:57 +01:00
Florian Bruhin
8d8cc25344 Add FIXME for cmd parsing IndexError 2014-01-20 08:58:56 +01:00
Florian Bruhin
7341193cf0 More FIXME 2014-01-20 08:42:08 +01:00
Florian Bruhin
b5527c834b Add a FIXME for ambigious keys 2014-01-20 08:38:15 +01:00
Florian Bruhin
35dffad869 Fix parsing of single args 2014-01-20 08:36:36 +01:00
Florian Bruhin
6acac5cb71 Display keystring in statusbar 2014-01-20 07:01:39 +01:00
Florian Bruhin
d635cbd3fd Fix shlex parsing 2014-01-20 06:51:59 +01:00
Florian Bruhin
fd9ab82e8b Add :pyeval 2014-01-19 23:54:22 +01:00
Florian Bruhin
bd28c00cf1 Use shlex to split command args, add split_args property 2014-01-19 23:33:13 +01:00
Florian Bruhin
1e8cb42c00 Rewrite whole command system.
Every command signal now returns a tuple (count, args) and gets handled
in app.py by cmd_handler. This makes things easier in a lot of places.
2014-01-19 22:55:00 +01:00
Florian Bruhin
114c2c01d3 First broken attempt at implementing count 2014-01-19 22:25:54 +01:00
Florian Bruhin
bf99519046 More key refactoring 2014-01-19 20:45:01 +01:00
Florian Bruhin
fb54eb58c1 Start reworking key parsing 2014-01-19 19:41:34 +01:00
Florian Bruhin
bba3696630 commands: Implement scrollstart and scrollend 2014-01-19 18:43:47 +01:00
Florian Bruhin
8ca98da6c4 commands: Add debug output when command is called 2014-01-19 18:43:34 +01:00
Florian Bruhin
0dd204b182 Implement scroll{left,right} 2014-01-19 17:45:03 +01:00
Florian Bruhin
ff938fc0d5 Add undo command 2014-01-17 23:17:24 +01:00
Florian Bruhin
022fc7aa4e Add scrolling commands 2014-01-17 22:02:11 +01:00
Florian Bruhin
ff855d6ded Add commands reload/stop/back/forward/print 2014-01-17 21:51:38 +01:00
Florian Bruhin
5efa56c5bb Add logging 2014-01-17 20:03:21 +01:00
Florian Bruhin
3a76d52ffb Move keys.py to commands 2014-01-17 12:01:21 +01:00
Florian Bruhin
b14f3f63c5 Fix empty command handling 2014-01-17 12:00:13 +01:00
Florian Bruhin
4e9527fb4c More fixups 2014-01-17 11:55:16 +01:00
Florian Bruhin
df48208524 tolower() -> lower() 2014-01-17 11:29:06 +01:00
Florian Bruhin
6e700ba4ad Fix inspect namespacing 2014-01-17 11:28:46 +01:00
Florian Bruhin
f61debd2f4 Fix circular import 2014-01-17 11:28:35 +01:00
Florian Bruhin
04140d9777 Remove explicit command name 2014-01-17 11:14:19 +01:00
Florian Bruhin
61c90f293c Split commands to commands/utils 2014-01-17 10:57:27 +01:00