1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-24 22:53:33 +01:00

count support for deleting buffers

This commit is contained in:
Martin Stubenschrott
2007-10-09 02:59:05 +00:00
parent d41f3e47ed
commit dd40023219
6 changed files with 42 additions and 8 deletions

View File

@@ -423,7 +423,8 @@ function Mappings() //{{{
function(count) { vimperator.tabs.remove(getBrowser().mCurrentTab, count, false, 0); },
{
short_help: "Delete current buffer (=tab)",
help: "Count WILL be supported in future releases, then <code class=\"mapping\">2d</code> removes two tabs and the one the right is selected.",
help: "Count is supported, <code class=\"mapping\">2d</code> removes the current and next tab and the one the right is selected. " +
"Does not wrap if <code class=\"argument\">[count]</code> is larger than available tabs to the right.",
flags: Mappings.flags.COUNT
}
));
@@ -431,7 +432,8 @@ function Mappings() //{{{
function(count) { vimperator.tabs.remove(getBrowser().mCurrentTab, count, true, 0); },
{
short_help: "Delete current buffer (=tab)",
help: "Count WILL be supported in future releases, then <code class=\"mapping\">2d</code> removes two tabs and the one the right is selected.",
help: "Count is supported, <code class=\"mapping\">2D</code> removes the current and previous tab and the one the left is selected. " +
"Does not wrap if <code class=\"argument\">[count]</code> is larger than available tabs to the left.",
flags: Mappings.flags.COUNT
}
));