Skip to content

mickeynp/smart-scan

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 5, 2013 16:29

smartscan-mode

Quickly jumps between other symbols found at point in Emacs.

How it works

Smart Scan will try to infer the symbol your point is on and let you jump to other, identical, symbols elsewhere in your current buffer with a single key stroke. The advantage over isearch is its unintrusiveness; there are no menus, prompts or other UI elements that require your attention.

Installation

(package-install 'smartscan)

Enable minor mode

(smartscan-mode 1)

or with M-x smartscan-mode.

Usage

M-n and M-p move between symbols and type M-' to replace all symbols in the buffer matching the one under point, and C-u M-' to replace symbols in your current defun only (as used by narrow-to-defun.)

For more information on how to use Smart Scan and how to master movement in Emacs, read my article on Effective Editing I: Movement.

About

Quickly move between identical symbols at point

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published