mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 00:27:57 +01:00
Fixing :buffer without arguments to act like vim
This commit is contained in:
@@ -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