Fix workspace-restricted helm-buffers-list

Now SPC b b and SPC b B can both enjoy the power of helm-buffers-list,
while the former is restricted to the buffers in the current workspace.
This commit is contained in:
Henrik Lissner
2018-08-05 23:42:27 +02:00
parent e05f3ec739
commit 9c11ee9eef
2 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,13 @@
#'helm-find-files
#'helm-projectile-find-file)))
;;;###autoload
(defun +helm/persp-buffer-list ()
"A version of `helm-buffers-list', but with its buffer list restricted to the
current workspace."
(interactive)
(with-persp-buffer-list nil (helm-buffers-list)))
;;
;; Project search