diff --git a/NEWS b/NEWS index 23cb21e6..6197d06b 100644 --- a/NEWS +++ b/NEWS @@ -3,7 +3,7 @@ * version 2.0 (probably) * IMPORTANT: renamed Startup and Quit autocmd events to VimperatorEnter and VimperatorLeave respectively - * add commandline completion to 'defsearch' + * add commandline completion to 'cpt' and 'defsearch' * add 'helpfile' option * add 'wildignore' option * add :finish command diff --git a/content/ui.js b/content/ui.js index 64ca1946..bb6be905 100644 --- a/content/ui.js +++ b/content/ui.js @@ -312,6 +312,17 @@ liberator.CommandLine = function () //{{{ "Items which are completed at the :[tab]open prompt", "charlist", "sfbh", { + completer: function (filter) + { + return [ + ["s", "Search engines and keyword URLs"], + ["f", "Local files"], + ["b", "Bookmarks"], + ["h", "History"], + ["l", "Firefox location bar entries (bookmarks and history sorted in an intelligent way)"], + ["S", "Suggest engines"] + ]; + }, validator: function (value) { return !/[^sfbhSl]/.test(value); } });