Commit graph

10 commits

Author SHA1 Message Date
Henrik Lissner
c3be74139a
Add eval-and-replace support to evil-mc
And refactor evil-mc-custom-known-commands init
2020-08-02 18:11:45 -04:00
Henrik Lissner
7a8bf22e41
Change gzu to delete cursors in visual selection
Will still undo last cursor in normal mode.
2020-06-05 00:33:57 -04:00
Henrik Lissner
51ffacb4d9
Fix gzz not toggling evil-mc cursors in normal mode 2020-06-05 00:12:26 -04:00
Henrik Lissner
abb9ab7674
Fix :mc/REGEXP not placing real cursor in correct position
With ':mc/abc' we should get

  a b c
  a b [a]bc
  a [a]bc c
  [a]bc b c
  a b c

Instead, we got

  a b c
  a b abc
  a [a]bc c
  [a]bc b c
  a b c

And the real cursor would be somewhere else (on the same column it was
left in when you were in visual mode).
2020-05-13 15:23:19 -04:00
Henrik Lissner
5999dc6af9
editor/multiple-cursors: refactor :mc ex command 2019-12-17 19:17:59 -05:00
Henrik Lissner
671135053b
Prevent visual 'gzz' placing cursors on invisible lines
e.g. over folded lines
2019-10-24 03:16:35 -04:00
Henrik Lissner
81ee250c09
Minor refactor & revision across the board 2019-09-03 00:59:46 -04:00
Henrik Lissner
f763bf2fd0
Change :mc to take delimited pattern
This used to take a regexp after a space: ':mc REGEXP'. It now is
delimited, like :g or :s, e.g.

  :mc/REGEXP/FLAGS
  :mc/[a-z]
  :mc/abc/g
2019-09-02 01:30:04 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Henrik Lissner
5baaf08246
Move evil-mc library to editor/multiple-cursors 2019-01-28 19:54:55 -05:00
Renamed from modules/feature/evil/autoload/evil-mc.el (Browse further)