- 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.
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.
This is useful for suppressing spew, but still allowing easy debugging
when needed, without rebuilding.
To use, use excmd:
setlogginglevel <prefix> <level>
Where the level is one of:
- never: never log
- error
- warning
- info
- debug: most verbose
Output is directed to console methods "error", "warn", "log", "debug".
This adds the ability to save link targets or images. The save location
can be default, or the save as dialog can be invoked.
Somewhat sensible default filenames are provided.
Data URLs are also supported (though they need quite a bit of massaging
to get past the WebExt security limitations). Specificially, they need
to be round-tripped though a Blob, and must be saved from the background
context.
This is made possible by also allowing the second
argument to be "x" or "y". We supply "y" as the
default to retain the current, more commonly
desired behavior.
Other vim-likes map `q` and `quit` to `tabclose`, so let's
do the same to appease their muscle memory.
While we're at it, we can add `qa` as a shortcut for `qall`
(vim also supports this shorthand).
- Add `focusinput -n` and `focusinput -N`
- Press `gi` to focus input and enter inputmode
- When in inputmode, `Tab` to focus input after last focussed one, `Shift+Tab`
to focus input before last focussed one
- Reflowed text
- Added Matrix/Gitter chat badges
- Added Freenode badge and link
- Used static images for badges on help page to avoid external loads
- Inlined some links, rather than using [1] suffixes