Magnar Sveen
839c6ef077
Update README with command overview and tips-n-tricks.
2012-11-18 16:36:45 +01:00
Magnar Sveen
7d79b983ea
Autoload new functions.
2012-11-18 16:08:10 +01:00
Magnar Sveen
717c97e32b
Added Fuco to list of contributors
2012-11-18 14:47:48 +01:00
Magnar Sveen
c010afbbef
Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair
2012-11-18 14:45:25 +01:00
Magnar Sveen
f721308591
Tweak mc/mark-all-like-this-dwim and add tests
2012-11-18 14:43:39 +01:00
unknown
1074c88c99
Added mc/mark-all-like-this-dwim
2012-10-27 20:33:51 +02:00
Magnar Sveen
a37e02b907
Add new mc-commands to default run-once list.
...
Fixes #36
2012-10-27 09:13:09 +02:00
Magnar Sveen
fe211c018c
Add word/symbol limiting mark-more functions:
...
- mc/mark-next-word-like-this
- mc/mark-next-symbol-like-this
- mc/mark-previous-word-like-this
- mc/mark-previous-symbol-like-this
- mc/mark-all-words-like-this
- mc/mark-all-symbols-like-this
Fixes #24
2012-10-26 22:51:40 +02:00
Magnar Sveen
1afbb9317c
Add mc/cycle-looping-behaviour to multiple-cursors custom group.
2012-10-26 22:15:12 +02:00
Magnar Sveen
dce6c00fab
Add mc/cursor-specific-vars to handle vars that need to be tracked per cursor.
...
- also add autopair-vars to this list.
Fixes #32
2012-10-25 10:57:58 +02:00
Magnar Sveen
5f7c92bb74
Add more backward-delete commands to run-for-all
2012-10-25 10:22:25 +02:00
Magnar Sveen
6b09b9c73f
Add some more basic commands to the run-all and run-once lists.
2012-10-24 19:20:03 +02:00
Magnar Sveen
b3ca408f52
Have to require 'cl for now, because of count-if.
2012-10-24 08:10:22 +02:00
Magnar Sveen
7382b462b2
Merge pull request #30 from gvol/master
...
Fixed mode-line not showing up
2012-10-20 15:27:38 -07:00
Ivan Andrus
be4067da45
Fixed mode-line not showing up
2012-10-21 00:24:00 +02:00
Magnar Sveen
65d4f873fe
Added Ivan Andrus to list of contributors
2012-10-21 00:54:04 +03:00
Magnar Sveen
dce196ce9f
Merge pull request #28 from gvol/master
...
Show number of cursors in mode-line
2012-10-20 14:49:04 -07:00
Ivan Andrus
bb546b11d8
Display number of cursors in mode-line
2012-10-20 22:01:34 +02:00
Magnar Sveen
796fb640e1
Added segv to contributors list
2012-10-13 09:24:18 +03:00
Magnar Sveen
c3b2d8483b
Merge pull request #23 from segv/master
...
Improve mc/cycle and mc/mark-next/prev
2012-10-12 10:26:46 -07:00
Marco Baringer
2818d9e7ef
Rename mc/(first|last)-cursor-(before|after)-point to mention that they operate on fake cursors
2012-10-12 17:07:55 +02:00
Marco Baringer
1ec78e195f
Don't let mc/mark-lines create 'double' cursors.
...
Previously using mc/mark-lines in a fowards/backwards/forwards
combination would cause multiple cursors to be placed at the same
point of the same line. This is not useful behaviour.
Noted while implementing magnars suggestion: https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983183
2012-10-12 17:04:36 +02:00
Marco Baringer
038c9a7f03
Added stop as a possible value for mc/cycle-looping-behaviour.
...
Simply disables looping (no warning either).
2012-10-12 16:56:01 +02:00
Marco Baringer
19b1a83925
Refactor mc/first-cursor-after and mc/last-cursor-before to not use extreme.
...
Sometimes imperative code is more readable.
Suggested by magnars (https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983268 )
2012-10-12 16:51:01 +02:00
Marco Baringer
a8b632386d
Remove superfluous lambda.
...
Caught by magnars (https://github.com/magnars/multiple-cursors.el/pull/23#commitcomment-1983191 )
2012-10-12 16:27:39 +02:00
Marco Baringer
e4adefc04e
Fix issues with mc/cycle-(backward|forward) where the cycling was dependent on not having an active mark.
...
This patch also adds two utility functions mc/first-cursor-after and mc/last-cursor-before.
2012-10-10 13:39:28 +02:00
Marco Baringer
324d9354b5
Split macro mc/for-each-fake-cursor into a function returning all the cursor overlays and a macro to loop over this list.
2012-10-10 13:38:47 +02:00
Marco Baringer
80ebdbb35b
Added test for mc/mark-(next|previous)-like-this when there is no active region.
2012-10-10 13:37:40 +02:00
Marco Baringer
9ac7675c78
Added tests for mc/cycle-forward and mc/cycle-backward with their new looping behaviour
2012-10-10 13:36:45 +02:00
Marco Baringer
3f20fc15a7
When no region is active mc/mark-next-like-this and mc/mark-previous-like-this should create a cursor one like up (or down).
...
Added the functions mc/mark-next-lines and mc/mark-previous-lines
which create cursors one line above and below point.
Refactored common mc/mark-previous-like-this and
mc/mark-next-like-this functionality into mc/mark-more-like-this.
Changed mc/mark-next-like-this and mc/mark-more-like-this to call
mc/mark-next-lines and mc/mark-previous-lines when there is no
active region (instead of erroring).
2012-10-10 11:15:22 +02:00
Marco Baringer
876937bfa3
Use (interactive "P") instead of the weird (but equivalent) (interactive (list prefix-arg))
2012-10-10 10:04:22 +02:00
Marco Baringer
fcbb7a4df9
Make mc/cycle-forward and mc/cycle-backward loop around by default.
...
Instead of erroring if there is no next (respectively previous) cursor
mc/cycle-forward (respectively mc/cycle-backward) will just loop back
to the first (respectively last) cursor.
2012-10-10 09:24:19 +02:00
Magnar Sveen
a0f771f3e4
Include interactive commands for deselecting prev/next
...
Fixes #21
2012-10-04 07:47:31 +02:00
Magnar Sveen
879ddb0e97
Add Takafumi Arakaki to list of contributors
2012-10-03 20:12:56 +03:00
Magnar Sveen
6e9ea1ae52
Merge pull request #20 from tkf/diff-friendly-save-lists
...
Diff friendly .mc-lists.el
2012-10-03 10:10:41 -07:00
Magnar Sveen
8a12e97b7d
Mention region-bindings-mode in README
2012-10-03 20:06:15 +03:00
Takafumi Arakaki
f4d5aea860
Sort before saving list in mc/save-lists
2012-10-03 18:50:29 +02:00
Takafumi Arakaki
00f905549e
Add mc/dump-list to make mc/save-lists diff-friendly
2012-10-03 18:47:31 +02:00
Magnar Sveen
7a6eb0df90
Never execute keyboard macros for fake cursors.
...
- The real cursor will execute the keyboard macro, resulting in new
commands in the command loop, and the fake cursors can pick up on
those instead.
Fixes #18
2012-10-02 12:19:00 +02:00
Magnar Sveen
6d4979db46
Bump to 1.1.3
1.1.3
2012-09-28 07:26:17 +02:00
Magnar Sveen
f040a33e3c
Add execute-extended-command to run-once list
2012-09-28 07:24:38 +02:00
Magnar Sveen
64ffd81491
Add quoted-insert to run-for-all list.
2012-09-27 19:44:48 +02:00
Magnar Sveen
97da9778fd
Intercept some reading commands
...
- so you won't have to answer them for every single cursor
Fixes #15
2012-09-27 19:42:38 +02:00
Magnar Sveen
ae0033fe3d
Protect post-command-hook from errors to avoids undead cursors
2012-09-27 18:53:57 +02:00
Magnar Sveen
5fcc69cc54
Skip keyboard macros
...
- since they will generate actual commands that are also run in the
command loop - we'll handle those later instead.
2012-09-27 18:53:05 +02:00
Magnar Sveen
d98b85bb1e
Bump to 1.1.2
1.1.2
2012-09-27 11:18:25 +02:00
Magnar Sveen
b48e2b7682
mc/edit-lines: Don't include the 'invisible' line
...
- when marking a region from bottom to top there is an invisible line
in the region if mark is at the beginning of the line.
- don't count that line when doing mc/edit-lines
2012-09-27 10:52:21 +02:00
Magnar Sveen
d7263f21f0
A more rubust way of finding the command currently being invoked.
...
- which is necessary because cua-mode does some wacky stuff.
Fixes #8
2012-09-27 00:29:25 +02:00
Magnar Sveen
80bc6f6d56
Temporarily disable auto-complete-mode in multiple-cursors-mode
...
Fixes #12
2012-09-26 20:17:54 +02:00
Magnar Sveen
ce777dc1d7
Add some mouse-commands to the run-once list.
2012-09-26 19:30:04 +02:00