]> git.gir.st - VimFx.git/commit
Improve Ignore mode and the blacklist
authorSimon Lydell <simon.lydell@gmail.com>
Wed, 24 Feb 2016 12:29:13 +0000 (13:29 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Wed, 24 Feb 2016 12:29:13 +0000 (13:29 +0100)
commitf609344a4397ff102810b790051a00d62abdb24c
treeb99981d265c580ee92e46fb23306f7ae298ab1bb
parent13e43ea8fde57f27ab10f994fae4467a044d9d62
Improve Ignore mode and the blacklist

When you reloaded the page or visited some other page in the same time while in
Ignore mode, you'd always end up in Normal mode (unless the newly loaded page
was blacklisted). Now, you stay in Ignore mode in that case. This lets you press
`i` and browse around in that tab in Ignore mode, without having to press `i`
again any time a full page reload is caused.

However, if Ignore mode was entered automatically because of the blacklist, it
is also exited as expected if you browse to a non-blacklisted page.

This new behavior is possible by tracking the "type" of the Ignore mode. There
are currently two types, 'explicit' and 'blacklist', which correspond to the
above two cases.
documentation/api.md
documentation/options.md
extension/lib/commands.coffee
extension/lib/modes.coffee
extension/lib/vim.coffee
Imprint / Impressum