1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 16:05:48 +01:00

Make 'cpt' a stringlist. Add support for native autocomplete providers.

This commit is contained in:
Kris Maglione
2011-09-26 15:52:51 -04:00
parent 2ca292f55d
commit 45218f4141
15 changed files with 166 additions and 75 deletions

View File

@@ -37,6 +37,10 @@ autocmd.noMatching = No matching autocommands
autocmd.noGroup-1 = No such group or event: %S
autocmd.cantExecuteAll = Can't execute autocommands for ALL events
autocomplete.description-1 = Native '%S' autocompletions
autocomplete.noSuchProvider-1 = No such autocomplete provider '%S'
autocomplete.title-1 = '%S'
bookmark.noMatching-2 = No bookmarks matching tags %S and string %S
bookmark.noMatchingTags-1 = No bookmarks matching tags %S
bookmark.noMatchingString-1 = No bookmarks matching string %S

View File

@@ -510,22 +510,35 @@
<p>Items which are completed at the <ex>:open</ex> prompts. Available items:</p>
<dl dt="width: 6em;">
<dt>s</dt> <dd>Search engines and keyword URLs</dd>
<dt>f</dt> <dd>Local files</dd>
<dt>l</dt> <dd>&dactyl.host; location bar entries (bookmarks and history sorted in an intelligent way)</dd>
<dt>b</dt> <dd>Bookmarks</dd>
<dt>h</dt> <dd>History</dd>
<dt>S</dt> <dd>Search engine suggestions</dd>
<dt>search</dt> <dd>Search engines and keyword URLs</dd>
<dt>file</dt> <dd>Local files</dd>
<dt>location</dt> <dd>&dactyl.host; location bar entries (bookmarks and history sorted in an intelligent way)</dd>
<dt>bookmark</dt> <dd>Bookmarks</dd>
<dt>history</dt> <dd>History</dd>
<dt>suggest</dt> <dd>Search engine suggestions</dd>
</dl>
<p>
Additionally, native search providers can be added by prefixing
their names with the string <str delim="'">native:</str>. These
providers are often added by other add-ons and are occasionally
useful.
</p>
<p>
The order is important, such that <se opt="complete"><str delim="">bsf</str></se> will
list bookmarks followed by matching quick searches and then
matching files.
</p>
<note>
For backward compatibility, this option currently accepts a single
entry containing single-letter names for completers. This usage
is deprecated and will be removed in the future.
</note>
<warning>
Using <em>b</em> and <em>h</em> can make completion very slow if
Using <em>bookmark</em> and <em>history</em> can make completion very slow if
there are many items.
</warning>
</description>