leuven65 / helm-persp-buffer-list

Integrate persp-mode to the latest version of helm in Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

helm-persp-buffer-list

About

This library is to support persp-mode in the new version of helm-buffers.

In persp-mode, if to support helm, it is required to set the variable persp-set-ido-hooks, however it doesn’t work anymore in the new version of helm. in emacs-helm/helm#2311 (2020/5/30), helm was changed to ”get rid of ido for listing buffers”, so that “persp-set-ido-hooks” won’t take any effect on helm.

In the implementation of this library, it adds advice to the helm function helm-buffer-list, and use the functions provided by persp-mode to filter the buffer list of current frame. This implementation doesn’t have any performance issue.

Installation

Clone this git repo to “${user-emacs-directory}/packages/helm-persp-buffer-list”, and add folowing lines to your Emacs config file:

(use-package helm-persp-buffer-list
  :after (helm-buffers persp-mode)
  :ensure nil ; it is github package
  ;; If the path is relative, it is expanded within `user-emacs-directory'
  :load-path "packages/helm-persp-buffer-list"
  )

About

Integrate persp-mode to the latest version of helm in Emacs


Languages

Language:Emacs Lisp 100.0%