只需使用头盔即可。
它的配置可能比您要求的要多,但是一旦您得到它
你喜欢怎么配置就怎么配置,应该很舒服。非常喜欢Emacs
;)。
你应该向蒂埃里提交一个错误,以获得对新手更友好的东西
默认值。他对问题非常敏感。
helm-多次发生
Primarily multi-buffer interactive "occur" is provided through
helm-multi-occur
. If you execute the command, you'll notice that you have
to pick some buffers first (use C-SPC to select from the list,
M-SPC to select all). Then you can enter your query at the next
prompt. It's easy to make your own version that skips the buffer selection
like so:
(eval-after-load "helm-regexp"
'(setq helm-source-moccur
(helm-make-source "Moccur"
'helm-source-multi-occur :follow 1)))
(defun my-helm-multi-all ()
"multi-occur in all buffers backed by files."
(interactive)
(helm-multi-occur
(delq nil
(mapcar (lambda (b)
(when (buffer-file-name b) (buffer-name b)))
(buffer-list)))))
helm 缓冲区列表
通常您并不关心查询字符串的确切出现次数,而是想要一个
包含它的所有缓冲区的列表。
helm-buffers-list
有一些技巧。第一个符号是你
指定是按major-mode过滤,可以使用“@”前缀来缩小范围
包含字符串的缓冲区列表。
也就是说,“ruby @prompt”将向您显示主要模式的缓冲区列表
包含“ruby”并且其内容包含“prompt”。或者您可以只使用“@prompt”来显示包含“prompt”的所有缓冲区。
一旦你习惯了它,它就会变得强大而舒适。
EDIT修改的my-helm-multi-all
启用 helm-follow-mode。
EDIT 2 update helm-follow-mode
反映 helm 变化的代码。
EDIT 3再次更新以反映掌舵变化 https://github.com/emacs-helm/helm/issues/623