Skip to content

ido/ivy/helm imenu tag selection across buffers with the same mode/project etc

Notifications You must be signed in to change notification settings

vspinu/imenu-anywhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 

Repository files navigation

License GPL 3 MELPA MELPA Stable

imenu-anywhere

imenu-anywhere provides navigation for imenu tags across all buffers that satisfy a filtering criteria. Available criteria are - all buffers with the same major mode, same project buffers and user defined list of friendly mode buffers.

Installation

Available from package.el community maintained repos - MELPA Stable and MELPA repos.

Install using the following command:

M-x package-install [RET] imenu-anywhere [RET]

or if you'd rather keep it in your dotfiles:

(unless (package-installed-p 'imenu-anywhere)
  (package-refresh-contents)
  (package-install 'imenu-anywhere))

If the installation doesn't work try refreshing the package list:

M-x package-refresh-contents

Usage

Simply bind imenu-anywhere to a key of your choice:

 (global-set-key (kbd "C-.") #'imenu-anywhere)

By default imenu-anywhere uses completing-read for completion. If you are using ido-ubiquitous or helm-mode which redefine completing-read-function you are set. Otherwise you can use any of the provided wrappers directly:

  • ido-imenu-anywhere,
  • ivy-imenu-anywhere or
  • helm-imenu-anywhere

For the last two wrappers you will need to install ivy or helm separately.

Configuration

By default imenu-anywhere makes tags available from buffers with the same mode, same project and friendly modes defined by imenu-anywhere-friendly-modes. You can configure the filtering strategies with imenu-anywhere-buffer-filter-functions.

License

Copyright © 2011-2016 Vitalie Spinu and contributors.

Distributed under the GNU General Public License; type C-h C-c to view it.

About

ido/ivy/helm imenu tag selection across buffers with the same mode/project etc

Resources

Stars

Watchers

Forks

Packages

No packages published