mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 17:25:46 +01:00
added :buffers [filter]
This commit is contained in:
3
NEWS
3
NEWS
@@ -12,6 +12,9 @@
|
||||
special versions for the old behavior
|
||||
* IMPORTANT: renamed Startup and Quit autocmd events to VimperatorEnter and
|
||||
VimperatorLeave respectively
|
||||
* :buffers supports a filter now to only list buffers matching filter (vim incompatible,
|
||||
but consistent with other commands)
|
||||
* Favicon support in many places
|
||||
* add 'Fullscreen' autocommmand
|
||||
* add :colorscheme
|
||||
* multibyte support for hints (thanks Xie&Tian)
|
||||
|
||||
@@ -787,7 +787,7 @@ function Completion() //{{{
|
||||
// FIXME: liberator.has("tabs")
|
||||
let items = [];
|
||||
let xml = <table/>
|
||||
filter = filter || "";
|
||||
filter = (filter || "").toLowerCase();
|
||||
|
||||
for (let [i, browser] in tabs.browsers)
|
||||
{
|
||||
|
||||
@@ -478,8 +478,8 @@ function Tabs() //{{{
|
||||
|
||||
commands.add(["buffers", "files", "ls", "tabs"],
|
||||
"Show a list of all buffers",
|
||||
function (args) { tabs.list(); },
|
||||
{ argCount: "0" });
|
||||
function (args) { tabs.list(args.string); },
|
||||
{ argCount: "*" });
|
||||
|
||||
commands.add(["quita[ll]", "qa[ll]"],
|
||||
"Quit " + config.name,
|
||||
|
||||
@@ -9,10 +9,11 @@ result many buffer and tab commands are interchangeable.
|
||||
section:Listing{nbsp}tabs[listing-tabs]
|
||||
|
||||
|B| |:tabs| |:ls| |:files| |:buffers|
|
||||
||:buffers|| +
|
||||
||:buffers [filter]|| +
|
||||
||B||
|
||||
________________________________________________________________________________
|
||||
Show a list of all buffers (=tabs).
|
||||
Show a list of buffers (=tabs) matching [filter]. Without [filter] list all
|
||||
tabs.
|
||||
________________________________________________________________________________
|
||||
|
||||
section:Opening{nbsp}tabs[listing-tabs]
|
||||
|
||||
Reference in New Issue
Block a user