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

* code refactoring, mostly methods from hints.js -> buffer.js

* ;s and :pageinfo try to propose filenames relative to the current directory now
This commit is contained in:
Martin Stubenschrott
2008-01-05 21:14:27 +00:00
parent 177b8d3b49
commit 17fafa17dd
6 changed files with 134 additions and 119 deletions

View File

@@ -1099,7 +1099,7 @@ vimperator.Mappings = function () //{{{
// page info
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-g>"],
function (count) { vimperator.buffer.pageInfo(false); },
function (count) { vimperator.buffer.showPageInfo(false); },
{
shortHelp: "Print the current file name",
help: "Also shows some additional file information like file size or the last modified date. " +
@@ -1108,7 +1108,7 @@ vimperator.Mappings = function () //{{{
}
));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["g<C-g>"],
function (count) { vimperator.buffer.pageInfo(true); },
function (count) { vimperator.buffer.showPageInfo(true); },
{
shortHelp: "Print file information",
help: "Same as <code class='command'>:pa[geinfo]</code>."