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
Koushien
5ea1447bb9
Fix 'project page' link in :help
2018-01-23 21:07:36 -08:00
John Beard
6bc3b5ae97
Add urlmodify command
...
Has a few modes:
-t: Straight text replacement
-r: Regexp replacement
-q: Change a query's value to a new one
-Q: Delete a given query (and value if present)
-g: Graft a path onto the current URL (or a parent path of it)
These can be used direct on the command line, or bound to keybindings.
The idea is to allow commands to easily navigate around a website. For
example, navigating to a project's issues page on GitHub can be done
with a graft command, and changing an query is useful on sites like
eBay.
As a URL modification is generally site-specific, binding will be much
more useful with aucmds.
2018-01-21 17:14:57 +00:00
Isaac Khor
36bea9718a
Detect infinite loops in alias expansion
2018-01-09 17:34:15 +08:00
Isaac Khor
aff1ada83f
Add and implement comclear
excmd
2018-01-09 00:20:18 +08:00
Isaac Khor
89849b01d8
Clarify and elaborate on command
excmd docs
2018-01-09 00:07:06 +08:00
Alexander Batischev
f73fa27d15
Update help text
...
The buffer list *does* show the tab you've selected.
This finishes the job started in
4ed2031d69
(src/static/newtab.md) and
6313431475
(readme.md).
2018-01-06 20:28:37 +03:00
Isaac Khor
3af7481705
Fix command
excmd storing config incorrectly
2018-01-04 23:10:49 +08:00
Isaac Khor
2441fba8c0
Merge branch 'master' into i236-common-ex-aliases
2017-12-31 16:57:57 +08:00
Isaac Khor
29d58cd571
Change from 'alias' to 'command' and access config options differently
2017-12-31 16:53:35 +08:00
Colin Caine
53e51497e7
logging: rewrite in OOP style
2017-12-30 00:46:26 +00:00
Colin Caine
f398895dce
logging: introduce convenience functions
2017-12-29 23:58:23 +00:00
Colin Caine
426ffe6be8
Throw exceptions rather than logging
...
Some error conditions were being logged when they should throw
exceptions. Some uninteresting things were being logged.
2017-12-29 23:56:24 +00:00