mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Possibly kill buffer on C-w if not visible elsewhere
This commit is contained in:
@ -172,6 +172,7 @@
|
||||
;;;###autoload
|
||||
(defun narf/close-window-or-workgroup ()
|
||||
(interactive)
|
||||
(narf/kill-real-buffer)
|
||||
(if (and (= (length (window-list)) 1)
|
||||
(> (length (wg-workgroup-list)) 1))
|
||||
(if (string= (wg-workgroup-name (wg-current-workgroup)) wg-first-wg-name)
|
||||
|
Reference in New Issue
Block a user