feat(workspaces): add count arg to switch-{left,right} commands

This commit is contained in:
Kyuvi
2025-01-09 02:46:08 +02:00
committed by GitHub
parent c1f5d6111f
commit 8f57069dd5

View File

@ -413,10 +413,10 @@ end of the workspace list."
('error (+workspace-error ex t))))))
;;;###autoload
(defun +workspace/switch-left () (interactive) (+workspace/cycle -1))
(defun +workspace/switch-left (&optional n) (interactive "p") (+workspace/cycle (- n)))
;;;###autoload
(defun +workspace/switch-right () (interactive) (+workspace/cycle +1))
(defun +workspace/switch-right (&optional n) (interactive "p") (+workspace/cycle n))
;;;###autoload
(defun +workspace/close-window-or-workspace ()