diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 7892c021..43f7e3b5 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -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() {