Magnar Sveen
0a081a7c5f
Move mc/maybe-multiple-cursors-mode to core.
2012-11-18 21:10:09 +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
Magnar Sveen
a37e02b907
Add new mc-commands to default run-once list.
...
Fixes #36
2012-10-27 09:13:09 +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
Ivan Andrus
be4067da45
Fixed mode-line not showing up
2012-10-21 00:24:00 +02:00
Ivan Andrus
bb546b11d8
Display number of cursors in mode-line
2012-10-20 22:01:34 +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
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
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
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
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
Magnar Sveen
d5a9d57d25
Add minibuffer-complete-and-exit to default run-once list.
2012-09-26 17:28:09 +02:00
Magnar Sveen
466d8bd4f8
Don't use next-line non-interactively
2012-09-24 13:49:43 +02:00
Magnar Sveen
f73569fe13
Update documentation.
2012-09-24 13:26:55 +02:00
Magnar Sveen
bdc4d9aff5
Add some more commands to default run-once/run-for-all lists.
2012-09-24 13:07:09 +02:00
Magnar Sveen
241e34ef2d
Remove mark-multiple integration
...
- it caused more problems than it was solving
Fixes #9
2012-09-24 13:00:12 +02:00
Magnar Sveen
810636b228
Avoid smooth-scroll issues with multiple cursors
2012-09-23 23:18:32 +02:00
Magnar Sveen
719fe40ca3
Integrate with rect.el instead of consolidating/splitting on kill-ring
2012-09-23 19:12:42 +02:00
Magnar Sveen
067063a346
Split multiline kill-ring entry over cursors when num lines match
2012-09-23 18:36:46 +02:00
Magnar Sveen
ef2226b993
Consolidate kill-ring entries when exiting multiple-cursors-mode
2012-09-23 16:26:04 +02:00
Mon ouïe
dc22766af5
Macros must be defined before they are used to be expanded properly
2012-08-27 13:17:14 +02:00
Magnar Sveen
d82e252617
Don't let fake cursors scroll the buffer
2012-08-14 06:41:18 +02:00
Magnar Sveen
6926ca34ab
Avoid strange smooth-scrolling behavior.
2012-08-10 22:54:19 +02:00
Magnar Sveen
16563e32d1
Add hooks when mc-mode is enabled and disabled.
...
They are named `multiple-cursors-mode-enabled-hook`
and `multiple-cursors-mode-disabled-hook`.
Fixes #6
2012-08-10 21:27:02 +02:00
Magnar Sveen
b1ea7f2230
Add licences to all el-files.
2012-07-25 23:00:19 +02:00
Magnar Sveen
0233ba8e29
Add commands to run-once-list
2012-07-25 19:42:40 +02:00
Magnar Sveen
c9548eae5b
Use inverse face for cursor
...
- otherwise you can't see what's hiding behind the fake cursors
2012-07-24 20:55:23 +02:00
Magnar Sveen
576bf90346
mc version of mark-previous-like-this
2012-07-24 20:54:37 +02:00
Magnar Sveen
c3c454441b
Place the file definition with the save definition.
2012-07-21 20:24:49 +02:00
Magnar Sveen
df5f83ae27
Add more common commands to run only once.
2012-07-21 14:30:54 +02:00
Magnar Sveen
a4c4714587
Remove multiple cursors when reverting buffer.
2012-07-21 14:15:29 +02:00
Magnar Sveen
ccdc0256f9
Run prefix argument commands just once.
2012-07-21 10:18:01 +02:00
Magnar Sveen
a19c8c3195
Add cycle-backwards to once-list
2012-07-21 09:38:57 +02:00
Magnar Sveen
d69ae15fef
Use setq for default lists to be able to re-evaluate.
2012-07-21 08:08:45 +02:00
Magnar Sveen
84ef509350
Save users own white/black lists in .mc-lists.el
2012-07-20 22:55:08 +02:00
Magnar Sveen
15e88c6df9
Move more mode-specific cmds into personal lists.
2012-07-20 19:33:30 +02:00
Magnar Sveen
1d5b54e5f4
Separate default cmd-lists and those populated by the end user.
2012-07-20 16:02:07 +02:00
Magnar Sveen
608ceb4b81
Disable multiple-cursors-mode if there's only one cursor (the real one).
2012-07-20 15:59:01 +02:00