mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 00:57:59 +01:00
fix :pwd help and allow it to be called with the :pw abbreviation
This commit is contained in:
@@ -763,7 +763,7 @@ vimperator.Commands = function () //{{{
|
|||||||
completer: function (filter) { return vimperator.completion.file(filter, true); }
|
completer: function (filter) { return vimperator.completion.file(filter, true); }
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
commandManager.add(new vimperator.Command(["pwd"],
|
commandManager.add(new vimperator.Command(["pw[d]"],
|
||||||
function (args)
|
function (args)
|
||||||
{
|
{
|
||||||
if (args)
|
if (args)
|
||||||
@@ -772,10 +772,7 @@ vimperator.Commands = function () //{{{
|
|||||||
vimperator.echo(vimperator.io.getCurrentDirectory());
|
vimperator.echo(vimperator.io.getCurrentDirectory());
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
usage: ["cd [-|path]"],
|
shortHelp: "Print the current directory name"
|
||||||
shortHelp: "Change the current directory",
|
|
||||||
help: "<code class='command'>:cd -</code> changes to the last directory.",
|
|
||||||
completer: function (filter) { return vimperator.completion.file(filter, true); }
|
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
commandManager.add(new vimperator.Command(["com[mand]"],
|
commandManager.add(new vimperator.Command(["com[mand]"],
|
||||||
|
|||||||
Reference in New Issue
Block a user