Home

Awesome

Melpa Status Melpa Stable Status <a href="https://www.patreon.com/sanityinc"><img alt="Support me" src="https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg"></a>

Slime-style navigation for Emacs Lisp

Slime allows very convenient navigation to the symbol at point (using <kbd>M-.</kbd>), and the ability to pop back to previous marks (using <kbd>M-,</kbd>).

This plugin provides similar navigation for Emacs Lisp, supporting navigation to the definitions of variables, functions, libraries and faces.

Additionally, elisp-slime-nav provides a way to describe the symbol at point, whatever its type. As with slime-describe-symbol, this functionality is bound both to <kbd>C-c C-d d</kbd> and <kbd>C-c C-d C-d</kbd> by default.

Installation

Manual

Ensure elisp-slime-nav.el is in a directory on your load-path, and add the following to your ~/.emacs or ~/.emacs.d/init.el:

(require 'elisp-slime-nav)
(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook))
  (add-hook hook 'elisp-slime-nav-mode))

MELPA

If you're an Emacs 24 user or you have a recent version of package.el you can install elisp-slime-nav from the MELPA repository. The version of elisp-slime-nav there will always be up-to-date.

Enable elisp-slime-nav in emacs-lisp-mode and ielm by adding code such as the following to your emacs startup file:

(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook))
  (add-hook hook 'turn-on-elisp-slime-nav-mode))

About

Author: Steve Purcell <steve at sanityinc dot com>

Homepage: https://github.com/purcell/elisp-slime-nav

This little library was extracted from the author's full Emacs configuration, which readers might find of interest.

<hr>

💝 Support this project and my other Open Source work via Patreon

💼 LinkedIn profile

✍ sanityinc.com