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:
parent
e05f3ec739
commit
9c11ee9eef
2 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,13 @@
|
||||||
#'helm-find-files
|
#'helm-find-files
|
||||||
#'helm-projectile-find-file)))
|
#'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
|
;; Project search
|
||||||
|
|
|
@ -45,6 +45,8 @@ be negative.")
|
||||||
[remap imenu-anywhere] #'helm-imenu-anywhere
|
[remap imenu-anywhere] #'helm-imenu-anywhere
|
||||||
[remap imenu] #'helm-semantic-or-imenu
|
[remap imenu] #'helm-semantic-or-imenu
|
||||||
[remap noop-show-kill-ring] #'helm-show-kill-ring
|
[remap noop-show-kill-ring] #'helm-show-kill-ring
|
||||||
|
[remap persp-switch-to-buffer] #'+helm/persp-buffer-list
|
||||||
|
[remap switch-to-buffer] #'helm-buffers-list
|
||||||
[remap projectile-find-file] #'+helm/projectile-find-file
|
[remap projectile-find-file] #'+helm/projectile-find-file
|
||||||
[remap projectile-recentf] #'helm-projectile-recentf
|
[remap projectile-recentf] #'helm-projectile-recentf
|
||||||
[remap projectile-switch-project] #'helm-projectile-switch-project
|
[remap projectile-switch-project] #'helm-projectile-switch-project
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue