Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 44 lines (30 sloc) 1.83 kB
2bf67ff @victorhge Merge changes in master and
authored
1 * Iedit - Edit multiple regions in the same way simultaneously
2
3cf5e8f @victorhge Minor update README.org to reflect modulized change
authored
3 This package includes Emacs minor modes (iedit-mode and
4 iedit-rectangle-mode) based on a API library (iedit-lib) and allows you to edit
5 one occurrence of some text in a buffer (possibly narrowed) or region, and
6 simultaneously have other occurrences edited in the same way, with visual
7 feedback as you type.
2bf67ff @victorhge Merge changes in master and
authored
8
9 Normal scenario of Iedit mode is like:
10
11 - Highlight certain contents - by press C-;
12 All occurrences of a symbol, string or a rectangle in the buffer or a region
13 may be highlighted corresponding to current mark, point and prefix
14 argument. Refer to the document of `iedit-mode' for details.
15
16 - Edit one of the occurrences
17 The change is applied to other occurrences simultaneously.
18
19 - Finish - by pressing C-; again
20
21 You can also use Iedit mode as a quick way to temporarily show only the
22 buffer lines that match the current text being edited. This gives you the
23 effect of a temporary `keep-lines' or `occur'. To get this effect, hit C-'
24 when in Iedit mode - it toggles hiding non-matching lines.
25
26 Renaming refactoring is convinient in Iedit mode
27
28 - The symbol under point is selected as occurrence by default and only complete
29 symbols are matched
30
31 - With digit prefix argument 0, only occurrences in current function are matched
32
33 - Restricting symbols in current region can be done by pressing C-; again
34
35 - Last renaming refactoring is remembered and can be applied to other buffers
36 later
37
3cf5e8f @victorhge Minor update README.org to reflect modulized change
authored
38 Iedit-rectangle-mode provides rectangle support with *visible rectangle*
39 highlighting, which is similar with cua mode rectangle support. But it's
40 lighter weight and uses iedit mechanisms.
41
2bf67ff @victorhge Merge changes in master and
authored
42 There are also some other facilities you may never think about. Refer to the
43 document of function `iedit-mode' (C-h f iedit-mode RET) for more details.
Something went wrong with that request. Please try again.