aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-06-10 15:12:45 +0100
committerStephen Blott2015-06-10 15:12:45 +0100
commit9b07fa7861620900e0d1da5829b38ddb4e8ff789 (patch)
treef776713379fd4d42b6738b6ccc7fd41b80f1088b
parentddc747805e08eaad52bf58950b1d2df9bdd2da9c (diff)
downloadvimium-9b07fa7861620900e0d1da5829b38ddb4e8ff789.tar.bz2
Note changes in README.
-rw-r--r--README.md3
-rw-r--r--content_scripts/link_hints.coffee2
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index a3bf84bb..b2b865f1 100644
--- a/README.md
+++ b/README.md
@@ -163,7 +163,8 @@ Release Notes
- Added <tt>\`\`</tt> to jump back to the previous position after selected jump-like movements: <br/>
(`gg`, `G`, `n`, `N`, `/` and local mark movements).
- Global marks are now persistent (across tab closes and browser sessions) and synced.
-- For filtered link hints (not the default), you can now use `Tab` to select hints.
+- For filtered link hints (not the default), you can now use `Tab` and `Enter`
+ to select hints and hints are ordered by best match.
- Bug fixes, including:
- Bookmarklets accessed from the Vomnibar.
- Global marks on non-Windows platforms.
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index 3dbb4f23..cbb4085e 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -577,7 +577,7 @@ class FilterHints
# Assign a score to a filter match (higher is better). We assign a higher score for matches at the start of
# a word, and a considerably higher score still for matches which are whole words.
- # Note(smblott) if linkSearchString is empty, then every hint get a score of 2.
+ # Note(smblott) if linkSearchString is empty, then every hint get a score of 4.
scoreLinkHint: (linkSearchString) ->
searchWords = linkSearchString.trim().split /\s+/
(linkMarker) ->