icicles

How to select more than one buffer for an Icicle Multibuffer search


1) launch: Search->Icicles->+Search Buffers 2) Input my regex 3) Iclcles presents the buffer Completions with my buffers listed.

How do I select more than one?

Thanks

Mike


Solution

  • By default, in Icicles C-RET (aka C-return) is the candidate action key. Wnenever you use a multi-command , it acts on the current completion candidate, without exiting the minibuffer. (You can cycle to a candidate to make it current.)

    Alternatively, you can just click a candidate in buffer *Completions* with C-mouse-2. Another alternative is to use the menus. So even if for some reason you cannot use C-RET you can still choose multiple candidates (in this case, buffers), by clicking them.

    If, however, you want to change the candidate action key from C-RET to something else, just customize user option icicle-candidate-action-keys -- it is the list of keys that act on the current candidate.

    More generally, even when there is not a specific user option (such as icicle-candidate-action-keys) for customizing a particular key, you can always assign the key you want. For a top-level key, just define the key you want in icicle-mode-map. For a minibuffer key, use function add-hook together with minibuffer-setup-hook and minibuffer-exit-hook to add and remove the key binding to/from the current-local-map (which will be the current minibuffer map).

    See customizing Icicles key bindings.