mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 07:02:38 +01:00
merge count support for deleting buffers
This commit is contained in:
@@ -386,7 +386,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 to 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
|
||||
}
|
||||
));
|
||||
@@ -394,7 +395,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 to 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
|
||||
}
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user