LoginSignup
8
7

More than 5 years have passed since last update.

helm-migemoのインストールなしにmigemo検索を可能にする新機能helm-migemo-modeについて

Last updated at Posted at 2015-09-26

最近helmの更新で,公式にmigemo検索が導入されたようだ。
https://github.com/emacs-helm/helm/wiki#use-migemo-in-helm
M-x helm-migemo-mode,もしくは設定ファイルに(helm-migemo-mode 1)を追記することで以下がmigemo検索の対象となる。

  • kill ring
  • occur, moccur
  • buffers
  • helm-find-files (One space after a current path is needed to get candidates via migemo.)
  • Files in current directory
  • file name history (C-c h in helm-find-files)
  • recentf
  • minibuffer history
  • bookmarks
  • filtered bookmarks

helm-migemoをインストールせずともmigemo検索が使える,この事実が重要である。
例えばhelm-occurの情報源(source)が定義されているhelm-regexp.elを見れば分かるとおり、情報源はある一定のフォーマットで記述する必要があるらしい。
syohex氏の以下のブログ記事は参考になるだろう:

追記

現在helm-migemoの本体はemacs-jpに移されたようである。
https://github.com/emacs-jp/helm-migemo

追記2

helm-swoopについてもhelm-migemo-modeへの対応がなされたようである。
https://github.com/ShingoFukuyama/helm-swoop/commit/0ef60eba8304c98d787aa823e9303da31dd52f15

8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7