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

* b is now :buffer! with !

* show mode again on tabchange
* temporary :command without real function, sorry for the commit ;)
This commit is contained in:
Martin Stubenschrott
2007-10-15 22:57:53 +00:00
parent fe3e76b158
commit 3011d464c7
4 changed files with 13 additions and 1 deletions

1
NEWS
View File

@@ -2,6 +2,7 @@
2007-xx-xx:
* version 0.6
* THIS VERSION ONLY WORKS WITH FIREFOX 3.0
* b calles :buffer! now instead of :buffer
* added full zoom, and changed keybindings slightly for text zoom
* :buffer partial_string works now as in vim, and with ! even better
* improvements for scrollable -- more -- prompt

View File

@@ -430,6 +430,16 @@ function Commands() //{{{
completer: function(filter) { return vimperator.completion.get_bookmark_completions(filter); }
}
));
addDefaultCommand(new Command(["com[mand]"],
function(args)
{
vimperator.echo(vimperator.util.colorize(window.argParser(args)));
},
{
short_help: "Temporarily used for testing args parser",
help: ""
}
));
addDefaultCommand(new Command(["delm[arks]"],
function(args, special)
{

View File

@@ -53,6 +53,7 @@ function Events() //{{{
}, false);
tabcontainer.addEventListener("TabSelect", function(event) {
vimperator.commandline.clear();
vimperator.modes.show();
vimperator.statusline.updateTabCount();
vimperator.buffer.updateBufferList();
vimperator.tabs.updateSelectionHistory();

View File

@@ -405,7 +405,7 @@ function Mappings() //{{{
}
));
addDefaultMap(new Map([vimperator.modes.NORMAL], ["b"],
function() { vimperator.commandline.open(":", "buffer ", vimperator.modes.EX); },
function() { vimperator.commandline.open(":", "buffer! ", vimperator.modes.EX); },
{
short_help: "Open a prompt to switch buffers",
help: "Typing the corresponding number switches to this buffer."