Alex Kost 90200f5f22 Add 'imenus-section-face' | 4 years ago | |
---|---|---|
.gitignore | 8 years ago | |
Makefile | 7 years ago | |
README.org | 4 years ago | |
imenus.el | 4 years ago |
file:https://img.shields.io/badge/license-GPL_3-orange.svg file:https://melpa.org/packages/imenus-badge.svg file:https://stable.melpa.org/packages/imenus-badge.svg
This Emacs package provides a way to use imenu
indexes on multiple
buffers (or files) and without subsections.
Above that, imenus
may be used to perform isearch
or occur
on
specified buffers by pressing an according key binding.
This package can be installed from MELPA (with M-x package-install
or
=M-x list-packages=).
For the manual installation, clone the repo, add the directory to =load-path= and add autoloads for the commands/functions you need:
(add-to-list 'load-path "/path/to/imenus-dir")
(autoload 'imenus "imenus" nil t)
(autoload 'imenus-mode-buffers "imenus" nil t)
M-x imenus
This command behaves almost the same as M-x imenu
. The differences
are:
* M-r
- Rescan the current index.
* M-s
- Start Isearch with the current input string.
* M-o
- Start Occur with the current input string.
| Imenu | Imenus | |--------------------------------------+--------------------------------------| | file:https://i.imgur.com/mVG7uOI.png | file:https://i.imgur.com/3fAZetY.png |
M-x imenus-mode-buffers
Perform imenus
on all buffers with a particular major mode (there is
also imenu-anywhere package for the same purpose).
imenus-files
This is not an interactive command; it is a function that may be used
to perform imenus
on files. For example, I use it to search my
elisp files (see al-imenus.el).