mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feat(workspaces): add count arg to switch-{left,right} commands
This commit is contained in:
@ -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 ()
|
||||
|
Reference in New Issue
Block a user