]> git.gir.st - VimFx.git/commit
Fix #396: Use `<link rel=prev/next>` for [ and ] commands
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 18 Jan 2015 17:11:35 +0000 (18:11 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 18 Jan 2015 17:11:35 +0000 (18:11 +0100)
commitd317d447cff30db2dffea87c1b891889ac2c49af
treea48e67a6cc76fee26b1e60238068ffafa13555a9
parent4622fb19d3183453b8d0d6de502ee8954e988168
Fix #396: Use `<link rel=prev/next>` for [ and ] commands

Commit 52974ef says:

> We don’t bother with `<link>`s since the commands are substitutes for clicking
> a visible element. (And at least in my experience, they’re not commonly used.)
> Moreover, if there’s a `<link>` with a `rel` attribute, there’s likely a
> corresponding `<a>`, too.

But that's wrong. `<link rel=prev/next>` is actually a _better_ candidate for
the previous or next page than looking for a link to them.
extension/lib/commands.coffee
Imprint / Impressum