Commit graph

2039 commits

Author SHA1 Message Date
Oliver Blanthorn
1af85b293f
Add keybind documentation to help page, link to help from newtab 2017-11-22 12:24:37 +00:00
Oliver Blanthorn
00c02b454e
Add rudimentary bookmark support
Only covers the addition / removal of bookmarks.
2017-11-22 12:24:37 +00:00
Oliver Blanthorn
8f9fd34639
Merge pull request #104 from aplaice/master
Add reader excmd (toggle reader mode)
2017-11-22 10:29:50 +00:00
Oliver Blanthorn
d448d10e27
Add tabclosethenprev to switch to last accessed tab 2017-11-21 22:00:11 +00:00
Adam Plaice
895cfc6291 Add reader excmd (toggle reader mode)
It is already bound to "gr".

Unless and until the keyboard api is ready or Firefox allows
webextensions to inject scripts into the very security-sensitive
about:reader context, this will only switch on reader mode. One
can get out of reader mode, by pressing <Alt-←>.

Once one of the above conditions is met, the toggling should work
without any further changes.
2017-11-21 21:13:11 +00:00
Oliver Blanthorn
9a4c4545aa
Improve zoom type checking (thanks @aplaice!) 2017-11-21 21:07:35 +00:00
Oliver Blanthorn
85d6eba2b5
Revert "Merge branch 'Koushien-completions'"
This reverts commit 0aa14bb754, reversing
changes made to eae9cd0dab.
2017-11-21 20:28:48 +00:00
Oliver Blanthorn
7d825146c5
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-11-21 19:16:27 +00:00
Oliver Blanthorn
0aa14bb754
Merge branch 'Koushien-completions'
Currently doesn't support "tab" and has lots of dead code. Only
implemented for tabs right now.
2017-11-21 19:13:48 +00:00
Oliver Blanthorn
67d8efbeab
Tweak CSS to make it less offensive 2017-11-21 19:00:47 +00:00
John Beard
27116a3416 Add urlparent (gu) command
This command changes the URL to the parent URL.

Normal mode binding 'gu' added: same as Vimperator.
2017-11-21 12:12:25 +00:00
John Beard
44455692e8 Add urlroot (gU) command
Opens the root domain of the current tab's URL. E.g.
"https://example.com/page" -> "http://example.com/"

Includes 'gU' binding (same as Vimperator)
2017-11-21 12:12:15 +00:00
Oliver Blanthorn
eae9cd0dab
Change incrementurl to urlincrement and add bind 2017-11-21 11:05:40 +00:00
John Beard
8f8982cde1
Add incrementurl command
Increments the last number in a URL by a given step (positive or
negative)

Also includes a url_util helper module and some tests for it

Logic taken from vimperator browser.js:17
2017-11-21 11:05:40 +00:00
Colin Caine
7bbe81f327 completions: works properly, but code expects only one completionsource 2017-11-21 09:14:22 +00:00
Colin Caine
8e48f69c27 completions: another WIP 2017-11-21 05:16:47 +00:00
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
Colin Caine
1045eadc0e completions: WIP 2017-11-21 05:15:52 +00:00
Colin Caine
e55d174747 completions: add fuse.js and html-tagged-template 2017-11-21 05:15:52 +00:00
Koushien
f3a4ca0abb Get buffers on "tabclose" or "tabmove"
Firefox doing what it does on Escape in input
fields fires both the input and keydown listeners
leading to a race condition. Rudimentally protect
ourselves by checking completions directly since
it is always modified sequentially.
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
4c7be836af release: 1.4.3 2017-11-21 05:01:36 +00:00
Colin Caine
c84e8016c9 fix yet another bug in key suppression
Not going to push to master when I'm tired again.
2017-11-21 04:58:48 +00:00
Colin Caine
83d8e96b28 release: 1.4.2 2017-11-21 03:32:03 +00:00
Colin Caine
a0fc55fd9f fix race condition breaking quickmarks 2017-11-21 03:30:16 +00:00
Colin Caine
c828ffd484 release: 1.4.1 2017-11-21 03:20:57 +00:00
Colin Caine
b251ef625a fix: correct bad key ignoring from 9683e11 2017-11-21 03:20:17 +00:00
Colin Caine
a4e88f6341 debug: import state properly 2017-11-21 03:18:50 +00:00
Colin Caine
eb59fd3bf5 release: 1.4.0
add gobble mode and quickmarks
Fix #86: Add metakey to list of ignored keys in normal mode for Macs
Add startpage search engine
2017-11-20 23:48:23 +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
Oliver Blanthorn
ef761804c3
Merge branch 'master' into patch-1 2017-11-20 09:56:09 +00:00
Oliver Blanthorn
cf684c7935
Fix #86: Add metakey to list of ignored keys in normal mode for Macs 2017-11-20 09:21:07 +00:00
Colin Caine
d286e36c55
Merge branch 'master' into patch-1 2017-11-20 05:22:45 +00:00
Colin Caine
538aab80bc release: 1.3.1 2017-11-20 01:58:26 +00:00
Colin Caine
be7b304212 cmdline: don't store history for :winopen -private
Component of #53.
2017-11-20 01:31:47 +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
0751378067 hinting: hide all hints before select
Otherwise the page can be changed before the hints are cleaned
2017-11-19 16:48:21 +00:00
Colin Caine
b9ad37b496 hinting: fix space bind. Allow some FF binds. 2017-11-19 16:44:14 +00:00
Colin Caine
d45d906865 keydown: whitelist <space>
Fixes #77.
2017-11-19 16:22:00 +00:00
Colin Caine
7abf91e90a release: 1.3.0 2017-11-19 08:30:32 +00: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
3b5d1f64ca keydown: Unshadow more FF commands
This and preceding commits close #70.
2017-11-19 08:07:22 +00:00
Colin Caine
5f560f5e0b debug: add more to content window 2017-11-19 07:58:46 +00:00
Colin Caine
241bccda7e hinting: Move mode changes inside 2017-11-19 07:57:30 +00:00
Colin Caine
692cdeb5d7 messaging: don't use browserProxy on ext pages 2017-11-19 07:43:48 +00:00