Commit graph

276 commits

Author SHA1 Message Date
Oliver Blanthorn
2eda9b8fb2
Stop wanton verbiage from autocmds clogging up the console 2018-03-26 14:00:26 +01:00
Oliver Blanthorn
972e69ad9c
Find mode tidied up for intrepid explorers. 2018-03-18 15:08:09 +00:00
Oliver Blanthorn
6d8fe17069
Add nascent find mode 2018-03-18 13:11:11 +00:00
Oliver Blanthorn
f2244ee554
Sketch out find command using mark.js 2018-03-18 13:10:17 +00:00
glacambre
a163eaa732
excmds.ts,viewsource.css: Make :viewsource respect color scheme 2018-03-17 12:42:13 +01:00
glacambre
b83fbfec5e
excmds.ts: Fix viewsource disregarding its argument 2018-03-17 12:42:06 +01:00
glacambre
5be209f100
Implement tridactyl-viewsource
The problem with the current :viewsource is that it loads a page in
which Tridactyl is not loaded. This commit fixes this by enabling a new
setting, "viewsource" which can be set to either "default" or
"tridactyl". If "tridactyl" is selected, then :viewsource will load the
source code of the HTML page in the current page instead of redirecting
the user to the view-source:// version of the page.
2018-03-17 12:42:03 +01:00
glacambre
942ecfc054
excmds.ts: Implement basic :viewsource command 2018-03-17 12:40:49 +01:00
Isaac Khor
b607d8f5bd
Fix #341: tabclose # now works 2018-03-14 21:34:30 +08:00
Oliver Blanthorn
b7a833fcf5
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#325 2018-03-13 12:46:43 +00:00
Oliver Blanthorn
ddbc505ca5
Rename gistyle to gimode, default to firefox, version to configversion 2018-03-13 12:46:31 +00:00
Colin Caine
6afda3b632 Rewrite tabopen and openInNewTab
Fixes #342 and a bug where I used id rather than index.
2018-03-12 22:42:51 +00:00
Colin Caine
88f7183bc0 excmds: Re-order content and bg setup 2018-03-12 22:42:51 +00:00
Oliver Blanthorn
c042fd14b3
Add winopen equivalent to webext.ts, add and document private and window hints 2018-03-12 17:07:42 +00:00
glacambre
9247aeec84
Merge branch 'master' into fix_#325 2018-03-10 15:50:11 +01:00
glacambre
234e422960
{config,excmd}.ts: Rename vimium-gi->gistyle, change vals to nextinput/default 2018-03-10 15:42:09 +01:00
Colin Caine
e43f4fae41 Document dark theme 2018-03-08 22:34:22 +00:00
Fabian Furger
7ceaf84358 Apply theme to command line
Use dark theme from
https://gist.github.com/KrazyCavin/cebb807e961a4a32bb04aa0c1757bab8
Relates to #230.
2018-03-08 21:57:21 +00:00
Oliver Blanthorn
bc20f8d4ef
Merge branch 'master' of github.com:cmcaine/tridactyl 2018-03-07 14:55:36 +00:00
Oliver Blanthorn
f1dcea1ed1
Release 1.8.1
Changes summarised in doc/changelog.md. Additionally, change version
excmd to stop copying to clipboard as it was causing the command line to
be hidden, and add version number to the new tab page.
2018-03-07 14:50:50 +00:00
glacambre
c1d399e396
excmds.ts: Make open() open newtab page when given no argument 2018-03-03 12:40:52 +01:00
glacambre
67e95a87d7
excmds.ts: export forceURI function 2018-03-03 09:56:05 +01:00
Colin Caine
1bf859bb01 Fix #321 2018-03-02 17:26:40 +00:00
glacambre
ec6226b1e4
excmds.ts: Fix scrollpx not working on some websites 2018-02-27 22:30:58 +01:00
Colin Caine
7e7528746b Fix unbind 2018-02-19 15:59:56 +00:00
Colin Caine
188ea0b39b followpage now falls back to urlincrement 2018-02-19 01:34:15 +00:00
Colin Caine
55e2d463ac Don't try to show bind for empty key 2018-02-19 01:23:21 +00:00
Colin Caine
3218b9157e Improve feedback on bind, get
Now these commands populate the commandline. It's pretty rubbish that we
don't have a messaging system yet, but this is better than nothing.
2018-02-19 01:18:48 +00:00
Colin Caine
ce480c6de6 Fix unset for new config system
Thanks Lexi for bugreport.
2018-02-19 00:37:42 +00:00
Colin Caine
58d38a9f70 Support changing followpage pattern 2018-02-18 18:23:40 +00:00
Colin Caine
3ba21592cc Simplify findRelLink 2018-02-18 18:21:59 +00:00
Colin Caine
259e4f182f Make tab opening behaviour more consistent 2018-02-18 16:08:19 +00:00
Saul Reynolds-Haertle
282766ed1e Add vimperator-reflow hint filter mode
This mode works like vimperator-mode, but additionally renames hints
as they're filtered.
2018-02-13 23:08:53 +00:00
Oliver Blanthorn
c17878098d
Merge branch 'master' of github.com:cmcaine/tridactyl into aucmd 2018-02-02 15:00:10 +00:00
Oliver Blanthorn
a1cc6ade8f
Add event type checking to autocmd, change default autocmd 2018-02-02 14:53:58 +00:00
Oliver Blanthorn
5b6b473af3
Fix getAsync, add au alias, fix loadaucmds 2018-02-02 14:12:47 +00:00
Oliver Blanthorn
2174224244
Rename setnew to set, correct order for set in autocmds, ensure people cannot wipe entire config with unset 2018-02-02 13:06:30 +00:00
John Beard
e50119d466 Use new UrlUtil interpolate function in excmd
Document user-facing interpolation behaviour on excmd
`searchsetkeyword`.
2018-02-02 11:56:01 +00:00
Colin Caine
ca19b87807 Improve config API
- set, unset, get now all support an arbitrary depth of keys
 - set has a less confusing argument order
 - getAsync added: it will sleep until the config is read from disk for
   the first time

Config isn't really fit for purpose. Should consider custom objects (for
recording type, defaults, etc) and maybe decoupling internal
representation from UI.

Found a couple of bugs as well:

   excmds.ts: set() Could write a string to the config where the config
              expected an array (Fixes #275)
   config.ts: If both sync and local storage are in use the behaviour is
              not intuitive.
2018-02-01 23:45:45 +00:00
Oliver Blanthorn
5f9bd063c2
First attempt at aucmds. Main issue - config does not seem to load userconfig, only defaults 2018-01-31 19:51:08 +00:00
Oliver Blanthorn
9304dee31e
Merge pull request #298 from johnbeard/urlmodify-doc
Urlmodify documentation
2018-01-28 20:30:52 +00:00
John Beard
931fa12bd7 Expand urlmodify docs with prose and examples 2018-01-28 20:10:52 +00:00
John Beard
b2a31b9b72 Fix incorrectly quoted regex in urlmodify -r 2018-01-28 19:39:29 +00:00
Colin Caine
0f40e19035 Revise alias expansion
Simplify alias interface to one function.

Enable aliases that expand to multiple words.
2018-01-28 18:13:21 +00:00
Colin Caine
d588e364f2 Fix typo in command 2018-01-28 17:57:46 +00:00
Colin Caine
9f1f761310 Fix whitespace errrors 2018-01-28 15:18:50 +00:00
Colin Caine
0693cdc45d Merge remote-tracking branch 'origin/master' into HEAD 2018-01-28 15:04:47 +00:00
Oliver Blanthorn
d23d3b9172
Merge pull request #286 from johnbeard/urlmodify
Add urlmodify command
2018-01-25 09:14:44 +00:00
Oliver Blanthorn
2f998caeb1
Merge pull request #292 from Koushien/reloadall
Make :reloadall only refresh current window tabs.
2018-01-25 08:47:44 +00:00
Koushien
2884b1fb5c
Make :reloadall only refresh current window tabs.
Closes #288.
2018-01-23 22:29:39 -08:00