Commit graph

117 commits

Author SHA1 Message Date
Koushien
cf620959ec Do not merge: quick WIP
In case I get hit by a bus or something.
Reminder to myself to rebase next commit on
previous patch for some coherency.
2017-11-21 05:15:52 +00:00
Koushien
5bbb133c5c Begin transitioning completions refactor
Start laying groundwork for buffersall excmd
2017-11-21 05:15:52 +00:00
Koushien
a389d6dde3 Move buffers to general completion system.
User shouldn't notice any difference besides:
* removing "buffer " from cli clears buffers
* retyping "buffer " repopulates buffers
* text after "buffer " filters with smartcase.

We no longer directly set completion's innerHTML.
2017-11-21 05:15:52 +00:00
Colin Caine
a0fc55fd9f fix race condition breaking quickmarks 2017-11-21 03:30:16 +00:00
Colin Caine
053d613527 excmd: document gobble, quickmarks 2017-11-20 23:32:24 +00:00
Colin Caine
9683e11f70 Tidy up gobble mode. Re-use key classification. 2017-11-20 23:23:25 +00:00
D.B
0a0c31230e add gobble mode and quickmarks 2017-11-20 23:23:25 +00:00
Colin Caine
d286e36c55
Merge branch 'master' into patch-1 2017-11-20 05:22:45 +00:00
Colin Caine
ba99fdaf80 excmd: x-www-form-urlencode query strings
Fixes #83.
2017-11-20 01:11:38 +00:00
Colin Caine
b2a35c090d excmd: fix wikipedia search url 2017-11-20 01:08:26 +00:00
Philipp
5b3699309c
Add startpage search engine
I added startpage, a very popular search engine,  to the list of search engines.
2017-11-19 21:00:58 +01:00
Colin Caine
de1cc83584 fix: Turn buffer completions back on again
I forgot we still used this old system!
2017-11-19 08:28:07 +00:00
Colin Caine
241bccda7e hinting: Move mode changes inside 2017-11-19 07:57:30 +00:00
Colin Caine
71484e9873 excmds: documentation and minor changes 2017-11-19 06:16:33 +00:00
Colin Caine
23f064a9bc keydown: deprecate old suppression system 2017-11-19 03:22:59 +00:00
Colin Caine
9cb47d559b excmd: Add composite command
Deprecate this later.
2017-11-18 13:47:10 +00:00
Colin Caine
01c40840aa excmds: map and document hint -b 2017-11-18 03:10:58 +00:00
Colin Caine
9e75cbed3f hinting: allow hints to open in bg 2017-11-18 01:51:46 +00:00
Oliver Blanthorn
6d7262dd47
Add clipboard tabopen, make clipboard use internal open/tabopen 2017-11-16 19:58:33 +00:00
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