1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 00:44:13 +01:00

merge new :redraw command and changed 'linksearch' pattern modifiers

This commit is contained in:
Doug Kearns
2007-10-09 06:38:42 +00:00
parent 0a71af0d0a
commit bb41e28510
5 changed files with 36 additions and 5 deletions

View File

@@ -70,10 +70,10 @@ function Search() //{{{
search_pattern = pattern;
// links only search - \u wins if both modifiers specified
if (/\\u/.test(pattern))
// links only search - \l wins if both modifiers specified
if (/\\l/.test(pattern))
links_only = false;
else if (/\U/.test(pattern))
else if (/\L/.test(pattern))
links_only = true;
else if (vimperator.options["linksearch"])
links_only = true;