1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:17:58 +01:00

move tab() global function into :tab command definition

This commit is contained in:
Doug Kearns
2007-07-04 10:31:58 +00:00
parent 84b500f341
commit 071d83c5bd

View File

@@ -762,7 +762,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["tab"],
tab,
function() { execute(arguments[0], null, null, {inTab: true}); },
{
usage: ["tab {cmd}"],
short_help: "Execute {cmd} and tell it to output in a new tab",
@@ -1286,7 +1286,7 @@ function yankCurrentSelection()
vimperator.echo("Yanked " + sel);
}
////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////}}}
// high level bookmark/history related functions ///////////////////////
/////////////////////////////////////////////////////////////////////{{{
@@ -1345,11 +1345,6 @@ function bmshow(filter, fullmode)
// tab/buffer related functions ////////////////////////////////////////
/////////////////////////////////////////////////////////////////////{{{
function tab()
{
execute(arguments[0], null, null, {inTab: true});
}
// updates the buffer preview in place only if list is visible
function updateBufferList()
{