mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 22:52:32 +02:00
Fixing :buffer without arguments to act like vim
This commit is contained in:
1 parent
f369cd1fe0
commit
9ecacc94c8
1 file changed
+5
-1
+5
-1
@@ -660,7 +660,11 @@ vimperator.Buffer = function () //{{{
|
||||
// is null, the last used string is used again
|
||||
switchTo: function (buffer, allowNonUnique, count, reverse)
|
||||
{
|
||||
if (buffer != null)
|
||||
if (buffer == "")
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (buffer != null)
|
||||
{
|
||||
// store this command, so it can be repeated with "B"
|
||||
lastBufferSwitchArgs = buffer;
|
||||
|
||||
Reference in new issue
Block a user