diff --git a/NEWS b/NEWS index 86bd8e98..05abc03f 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/content/commands.js b/content/commands.js index b2733234..4afc81d9 100644 --- a/content/commands.js +++ b/content/commands.js @@ -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) { diff --git a/content/events.js b/content/events.js index 07bd59d7..7884ad24 100644 --- a/content/events.js +++ b/content/events.js @@ -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(); diff --git a/content/mappings.js b/content/mappings.js index 41497d49..4e944073 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -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."