Commit graph

24 commits

Author SHA1 Message Date
Anran
09e5281a8d move clipboard to background 2017-10-28 19:20:31 +08:00
Colin Caine
446bd0be21 messaging: move more modules to new sys 2017-10-28 05:11:10 +01:00
Oliver Blanthorn
36d33b8f60
Allow winopen and tabopen to take multi-word arguments 2017-10-24 17:40:00 +01:00
Oliver Blanthorn
639294c23d
Start work on {tab,win,,}open google etc.
Currently breaks t, : and probably some other things. You can't make an
omlette without breaking some legs.
2017-10-24 12:51:04 +01:00
Oliver Blanthorn
2dc82334be
Add space between favicon and tab number in buffers 2017-10-23 14:42:44 +01:00
Colin Caine
8d53fd60eb Rework messaging, key suppression, exmode parser
exmode.parser now converts strings to the types given in excmd
signatures.

Messaging now works in both directions (but I haven't made excmds.ts use
the new system yet. Exercise for the reader (see keydown_* state() for a
simple example)).

keys are now being suppressed, but in a pretty stupid way.

I got fed up of not having proper itertools, or str conversions, so I
wrote some. Others have written them in JS, but they were fun to make.
Only the ones I'm using are tested.
2017-10-23 09:42:50 +01:00
Colin Caine
5e88368802 excmd: fix clipboard paste, hide clipboard better 2017-10-23 03:19:26 +01:00
Colin Caine
6185805d42 tsc: move browser.sessions definitions to web-ext-types
excmds.ts had to change so that anonymous func returns bool
2017-10-22 17:03:23 +01:00
Oliver Blanthorn
c6d7ba068d
Make open more user-friendly; default to searching if it doesn't look like a URI 2017-10-22 16:33:43 +01:00
Oliver Blanthorn
75f960832f
Make favicons scale with em height 2017-10-22 15:24:56 +01:00
Oliver Blanthorn
242fcce1c3
Change commandline and completions to look more like Vimperator 2017-10-22 11:08:43 +01:00
Andrzej Pacanowski
b78be56273 enhance :undo logic
restore most recently closed tab in this window unless the most recently closed item was a window
2017-10-22 00:38:49 +01:00
Andrzej Pacanowski
87d72863cf vim modeline 2017-10-22 00:38:49 +01:00
Oliver Blanthorn
31ca72cc55
Append space to excmds again 2017-10-19 21:00:20 +01:00
Oliver Blanthorn
7daff9234f
Add multiword support to google 2017-10-19 20:24:21 +01:00
Oliver Blanthorn
60fd8e4165
Add multiword support to google 2017-10-19 20:15:01 +01:00
Oliver Blanthorn
238f4c1063
Yank now works; paste to open is broken 2017-10-19 13:21:55 +01:00
Oliver Blanthorn
c76d3a6c9a
First (broken) attempt at yy to yank URLs 2017-10-19 12:42:49 +01:00
Colin Caine
8897d8929b excmds: Macro-ify excmds_background and content
excmds_background/content are now generated by python. New dependency,
python3!
2017-10-19 04:40:36 +01:00
Colin Caine
419854c616 Unprofessionally large commit
- Implement just about working commandline
 - Clean up excmd code
 - Move controller logic out of parsing
 - Document workarounds of webext problems
2017-09-29 18:29:36 +01:00
Colin Caine
49c15c2257 Fix typo/bug 2017-09-28 22:39:41 +01:00
Koushien
687aaf9209
Implement different scroll excmds
In addition to scrollByLine and scrollByPage,
an excmd to scroll by half pages is included to
mimic default <C-u> and <C-d> behavior. In a
future revision, it may be preferred to have some
variable V for scroll values that pulls current
window height when called.
2017-09-27 21:10:52 -07:00
Colin Caine
5e018597bf Fix bug in scrollup 2017-09-28 02:29:39 +01:00
Colin Caine
9e57a25aa6 Proof of concept
keyboard API shim written, parser revised, example scrolling excmds
implemented.
2017-09-25 05:00:41 +01:00