Commit graph

48 commits

Author SHA1 Message Date
Oliver Blanthorn
fc9b34d08c
Add zoom command 2017-11-15 12:40:26 +00:00
Colin Caine
bf6ac3e618 completions: fix html exec 2017-11-15 00:42:10 +00:00
Oliver Blanthorn
49bbcb7fc9
Add rudimentary ignore mode bound to I 2017-11-15 00:03:34 +00:00
Oliver Blanthorn
f3a16da6bd
Change Map to use array syntax, add UK variants 2017-11-14 23:31:08 +00:00
troydm
709471a9ba most popular search engines added 2017-11-15 00:55:51 +02:00
Oliver Blanthorn
2738bf1e59
Standardise behaviour of empty url for :winopen with :tabopen 2017-11-14 12:23:01 +00:00
Oliver Blanthorn
eb416699f0 excmd: Fix O/W/T 2017-11-09 21:22:02 +00:00
Oliver Blanthorn
0c08202822 excmd: O/W/T use current URL 2017-11-09 21:12:15 +00:00
Colin Caine
d8e1eb4506 insert: Add 'Escape' bind 2017-11-09 21:01:57 +00:00
Oliver Blanthorn
c2e744ec11
Make :bind more readable 2017-11-09 12:13:08 +00:00
Colin Caine
3642477b57 excmd: Fix #43 2017-11-09 07:38:24 +00:00
Colin Caine
927e19c818 hinting: First working version
state.ts also reworked into a sexy new machine. Check it out!
2017-11-09 05:44:48 +00:00
Oliver Blanthorn
b2ee48ef00
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-11-07 13:27:43 +00:00
Hoàng Đức Hiếu
7ba53b7c67 excmds: fix scrollpage
Closes #45.
2017-11-07 12:08:15 +00:00
Oliver Blanthorn
d7080c4b32
Add pretty terrible choose buffer by name 2017-11-07 12:02:24 +00:00
Oliver Blanthorn
b3effdb78e
Initial attempt at configuration
Only for nmaps at the moment.

Mostly hard-coded - should move to a more general way of doing things
soon (so that insert mode binds etc. are allowed, but also to let people
change search engines and perhaps arbitrary constants if they so
desire).

bind / unbind should work without a restart, but reset requires one.
2017-11-05 14:10:11 +00:00
Oliver Blanthorn
70746041e4
Allow clipboard to be set to arbitrary string 2017-11-04 17:30:34 +00:00
Oliver Blanthorn
0a0f75121f
Merge branch 'docs' of github.com:cmcaine/tridactyl into docs 2017-11-03 19:13:59 +00:00
Oliver Blanthorn
eb89756718
Hide internal functions from help page 2017-11-03 19:11:19 +00:00
Oliver Blanthorn
9e00ce20de
Vague attempt at docs. Run src/make_docs.sh first. 2017-11-03 18:23:10 +00:00
Oliver Blanthorn
96d1a4ba51
Add :qall and ZZ (which might not allow pages to be restored!) 2017-11-02 19:36:44 +00:00
Anran
20edc42b3e cmdline iframe css refactor 2017-10-29 14:01:09 +00:00
Colin Caine
77062932f7 review: minor bugfixes and changes to clipboard 2017-10-28 13:42:54 +01:00
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
7ac70d645e
Vague attempt at docs. Run src/make_docs.sh first. 2017-10-23 23:44:07 +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