- Filename: all-ext.el
- Description: M-x all with helm(-swoop)/anything/multiple-cursors/line-number
- Author: rubikitch rubikitch@ruby-lang.org
- Maintainer: rubikitch rubikitch@ruby-lang.org Copyright (C) 2013, 2016, rubikitch, all rights reserved.
- Time-stamp: <2016-06-05 07:00:32 rubikitch>
- Created: 2013-01-31 16:05:17
- Version: 0.1
- URL: http://www.emacswiki.org/emacs/download/all-ext.el
- Package-Requires: ((all "1.0"))
- Keywords: all, search, replace, anything, helm, helm-swoop, occur
- Compatibility: GNU Emacs 24.4, 24.5
Features that might be required by this library:
all',
anything', helm',
multiple-cursors'
Licensed under the GPL version 3 or later.
Extend M-x all (older than M-x occur-edit-mode) to be replacement of it.
- Show line number before line content (using overlay)
- Can navigate with M-x next-error / M-x previous-error
- Use C-x h in All to get all matched lines.
Call M-x all from anything/helm:
- Call anything/helm command showing lineno and content such as M-x anything-occur / anything-browse-code / helm-occur / helm-swoop / helm-browse-code etc
- Press C-c C-a to show anything/helm contents into All buffer
- You can edit All buffer!
Multiple-cursors in All:
- M-x mc/edit-lines-in-all sets one cursor to all lines in All buffer.
All is undo-able!
Put all-ext.el to your load-path.
The load-path is usually ~/elisp/.
It's set in your /.emacs like this:
(add-to-list 'load-path (expand-file-name "/elisp"))
And the following to your ~/.emacs startup file.
(require 'all-ext) ;; optional (require 'helm-config) ;; or (require 'anything-config) (define-key all-mode-map (kbd "C-c C-m") 'mc/edit-lines-in-all)
No need more.