Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mickeynp/smart-scan
Quickly move between identical symbols at point
https://github.com/mickeynp/smart-scan
emacs emacs-lisp movement
Last synced: 9 days ago
JSON representation
Quickly move between identical symbols at point
- Host: GitHub
- URL: https://github.com/mickeynp/smart-scan
- Owner: mickeynp
- Created: 2013-10-31T17:29:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T12:52:13.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T13:20:00.807Z (4 months ago)
- Topics: emacs, emacs-lisp, movement
- Language: Emacs Lisp
- Homepage:
- Size: 20.5 KB
- Stars: 126
- Watchers: 6
- Forks: 13
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://www.masteringemacs.org/articles/2011/01/14/effective-editing-movement/).