We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6b5f1 commit a58e44fCopy full SHA for a58e44f
evil-commands.el
@@ -4411,7 +4411,7 @@ top-left."
4411
(if (not count)
4412
(select-window (next-window))
4413
(evil-window-top-left)
4414
- (other-window (1- count))))
+ (other-window (1- (min count (length (window-list)))))))
4415
4416
(evil-define-command evil-window-prev (count)
4417
"Move the cursor to the previous window in the cyclic order.
@@ -4422,7 +4422,7 @@ top-left."
4422
4423
(select-window (previous-window))
4424
4425
4426
4427
(evil-define-command evil-window-new (count file)
4428
"Splits the current window horizontally
0 commit comments