Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Releases: ueokande/vim-vixen

Release 0.30

12 Aug 12:46
Compare
Choose a tag to compare

🚀 New Features

Supports dark mode (#751)

This change allow you to choose color scheme of the console from light-mode and dark-mode. The new property colorscheme enables to change thee types of color schemes.

The allowed value is one of light, dark, and system (default). light and dark indicate the light-mode and dark-mode are used in the console, respectively. system indicate the preferred color configured by system settings is used (see also prefers-color-scheme).

set colorscheme=system     " Use system settings
set colorscheme=light      " Light mode
set colorscheme=dark       " Dark mode

darkmode

📈 Enhancement Notes

Added elements with attribute 'onclick' to hints (#757 by @MatiasStorm)

All elements with the 'onclick' attribute are now included in the hints.

Minor improvements to ScrollPresenter (#755 by @MatiasStorm)

I have changed isOverflowed to doneScrolling, to determine if the element can scroll any further.

When no href value exists on a link the user selects to follow, attempt pt to click() the link to blindly trigger any JS events bound to it (#783 by @YoloClin)

This PR will successfully trigger JS events in the following edge case:

<a id="clickme">Click me!</a>
<script>$("#clickme").on("click", function(){ alert(1) });</script>

It's reasonable to assume the user doesn't care whether or not the anchor has a valid href or triggers JS, so vim-vixen should just allow it to occur.

📔 Other Notes

Fixing a small grammatical error. (#781 by @muedli)

In keymaps.md, the description "reopen a close tab" should be "reopen a closed tab".

changed console_commands.html to console_commands.md (#774 by @natinaum)

"console command" link in docs/Keymaps leads to a not/no longer existing page.
This change replace a link with markdown links.

Support responsive design on docs (#785)

The official document pages supports responsive design for mobiles.

Migrate npm to yarn (#784)

Use yarn instead of npm.

Release 0.29

04 May 07:39
Compare
Choose a tag to compare

Fixed bugs

Fix set command completions (#750)

Fix an issue on completion of set command. Property names with "set " prefix should be suggested with an input "set ", but not actually.

Release 0.28

04 May 02:10
Compare
Choose a tag to compare

Fixed bugs

Improve completion performance on the console (#736)

History completion sometime could be slow with a long word on the open command
in the console. This change improve performance on the history completion on
the console. In the background scripts, completion items are pre-fetched with a
shorten query from the original and cached them in the memory.

Docs

Update index.md (#732 by @TeepaBlue)

fix typo and grammatical error.

Fix typo in partial blacklist example (#724 by @egoexpress)

Minor fix - the provided JSON file was missing a ':'.

Release 0.27

22 Feb 13:17
Compare
Choose a tag to compare

Enhancements

Synchronize settings with Firefox Sync (#708)

Vim Vixen settings are now synchronized with Firefox Sync. The feature will be enabled automatically on the add-on updated. Current users do not require any actions to use it.

Fixed bugs

Clear keys on window blur (#709)

The add-on treats digit keys with Alt are distinct from numeric prefix. In
addition, the key inputs are canceled on window blur. This change fixes #693.

Release 0.26

22 Dec 11:33
Compare
Choose a tag to compare

Support url started with localhost (#666 by @chen-chao)

This change supports open an URL with localhost on open command.

open localhost        " open localhost
open localhost:8000   " open localhost:8080

Enable addon on blacklisted sites (#691)

This change allow you to enable add-on on blacklisted sites by Shift+Esc

Repeat commands n-times #689

This change allow some commands to repeat n-times with a numeric prefix. For example, 3d deletes three tabs.

Document how to use the autocomplete (#660 by @yaymukund)

Release 0.25

10 Oct 12:02
Compare
Choose a tag to compare

Partial blacklist (#655)

This change supports partial blacklist to disable certain keys for each webpage separately. This is enabled by describing object with "url" and "keys" instead of a string in the blacklist. To disable j and k (scroll down and up) as an example, describe target url and disabled keys as the following:

"blacklist" [
    { "url": "github.com", "keys": ["j", "k"] },
    "mail.google.com/mail/*"
]

A partial blacklist blocks all operations starting with the keys but not exactly-matched. That means if the g described in "keys" field, it block all operation starting with g, such as gg, gt, and gT.

Add :help to display key bindings (#239)

Add :help command to show help page of Vim Vixen. By this command, Vim Vixen opens documents into the new tab. The command does not support help page with a parameter (such as :help commands) not yet.

Also, the help page is published on https://ueokande.github.io/vim-vixen/

Cancel console by Ctrl+C (#641)

This change allows you to cancel and close console by Ctrl+c.

Release 0.24

03 Sep 03:53
Compare
Choose a tag to compare

Add an option to close the current tab and select the tab to the left (#621 by @chocolateboy)

This PR adds a select option to tabs.close (default: right) to close the current tab and select the tab to the left (closes #102) e.g.:

{
    ...
    "keymaps": {
        "D": { "type": "tabs.close", "select": "left" },
        "d": { "type": "tabs.close" },
    },
    ...
}

Bound to D by default, which is currently bound to the rarely-used (and dangerous) tabs.close.right command. Several other vim-likes use d and D for these actions, including:

The old D behavior has been moved to x$.

Handle errors on loading settings (#622)

The error on loading settings can occurs when the settings lose backward
compatibility on version up, or the saved date is broken. The error is caught,
then the script done fallback to default settings and notify it to user.

Release 0.23

29 May 11:52
Compare
Choose a tag to compare

Fix warnings on Android (#586 by @robsmith11)

Vim Vixen supports Firefox on Android (experimental).
This change suppresses some warnings occurs on Android.

Add "repeat last operation" command

Add repeat.last command by . key in default. It repeats last
manipulation command such as opening, updating and deleting a tab. To enabled
this for current users, please add the following keymap into your json:

".": { "type": "repeat.last" }

Release 0.22

27 Apr 08:59
Compare
Choose a tag to compare

Show yanked url (#562 by @aminroosta)

Instead of Current url yanked show Yanked https://current-website.com/.

fix typos in README.md (#570 by nixon)

Support blacklist with port (#567)

Support to specify port to the blacklist, such as 127.0.0.1:8080.

Fix Content-Security-Policy issues (#571)

Vim Vixen was broke on some sites because of Content Security Policy (CSP). The CSP prevents untrusted contents by blocking inline <style> tags on the document. Now an issue on Vim Vixen on CSP-enabled sites are fixed.

Release 0.21

23 Mar 09:56
Compare
Choose a tag to compare

Make smooth-scroll smoother (#536)

Make smooth-scroll more smoother. To enable smooth-scroll, type set smoothscroll or add smoothscroll: true into your settings.

Space key map (#537)

Allow to enable keymap Space key:

"keymaps": {
  "<Space>": { "type": "follow.start", "newTab": false },
  "<C-Space>": { "type": "follow.start", "newTab": true, "background": false }
}

Scroll console (#538)

Limits number of shown item on console completion. The hidden items

Update README.md (#543 by @ryanstreur)

Correct spelling of WebExtensions (#535 by @sleepypikachu)

Update documents (#552 by @TeepaBlue)

Use browser.runtime.onInstalled event (#539)

Refactor background (#544)