Commit graph

28 commits

Author SHA1 Message Date
Maximilian Wolff be908875cb
Change newly added which-key bindings to use keymap api
The newly added bindings had side effects for
magit. This was caused by which-keys replacement
working on bindings which are identical between
various modes.

To fix this I have changed the api to use the newly
added keymap based replacements which avoid these
issues.

As a side effect they are a ton faster as which
key does not have to compare all available bindings
everytime it opens its help window.

I have also fixed some more missing which-key
description in magit status buffer.
2020-11-27 22:46:56 +01:00
Maximilian Wolff cb9c5c976c
[core] Add missing which-key description for evil-mc
evil-mc puts its bindings behind `gr` but misses
to define a proper which key prefix.
2020-11-27 20:18:32 +01:00
duianto d72019e33d
[multiple-cursors] Disable evil-mc-mode in magit-mode (#13971)
Resolves #13948

problem:
The p key tries to paste in the read-only magit buffer,
instead of calling magit-push.

After toggling text-mode on and off (C-t or \),
because evil-mc-mode becomes enabled when text-mode is enabled.
2020-09-23 22:37:55 +02:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
duianto 81d1c9f787 Fix org table evil paste
Paste using *table--cell-yank, in org-src-mode.
2020-08-19 23:46:21 +02:00
Maximilian Wolff c7ed2fc597
[helm] Provide fuzzy matching for Helm-M-x
Following the advice from duianto #13100 we are
setting completion-styles for helm-M-x to include
the emacs version specific fuzzy strategy as last
resort.

Before no fuzzy matching occured within command
searches.
2020-05-11 12:36:56 +02:00
duianto 8fcc9d8490 [multiple-cursors] Remove layer keys. Added upstream
Removed the following key bindings from the multiple-cursors layer:
grI  evil-mc-make-cursor-in-visual-selection-beg
grA  evil-mc-make-cursor-in-visual-selection-end
because they have been added upstream in the evil-mc package.

Changed the changelog.develop entry from saying that they were
added to the layer, to say that they were documented in the layer.
2019-11-25 17:45:01 +01:00
emacspace 9a82ee3ba7 documentation formatting: Fri Nov 22 19:37:23 UTC 2019 2019-11-22 22:47:35 +01:00
duianto 8bb98bcffa [multiple-cursors] Add evil-mc keys, cursors from selection
Added evil-mc make cursors from selection key bindings:
grI calls evil-mc-make-cursor-in-visual-selection-beg
grA calls evil-mc-make-cursor-in-visual-selection-end
2019-11-22 07:34:00 +01:00
Seong Yong-ju 6556cfc80d [multiple-cursors] Improvements
Fixed evil-mc-mode won't start automatically
Moved evil-mc key bindings to evil-mc-key-map, not global keymap
2019-11-15 13:49:02 +01:00
deb0ch 0cec3d0a69 docstring 2019-09-16 17:41:15 +03:00
duianto 348e996f7d [multiple-cursors] Update snippet, sort key bindings
Show the better supported backend in the readme snippet.
2019-05-27 15:46:07 +02:00
bb2020 d68c6311d6 Add magnars's multiple-cursors backend 2019-05-26 22:51:26 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Bet4 554ca097f2 Check for universal arg before paste
This commit fixes #4219 and fixes #8897
2019-04-25 19:30:29 +02:00
Henrique Jung 504fd6c120 Update key bind doc according to evil-mc changes
Commit gabesoft/evil-mc@041b904475 changed
the default key bind of `g r u` to a different (new) function. The old
behaviour is now available at `g r q`.
2019-04-22 23:43:09 +02:00
duianto cfa4abfa7a Hide evil-mc single cursor mode-line lighter "emc" 2019-04-06 09:20:13 +02:00
Aaron Renner 9008a2ca1d Fix typo in multiple-cursors readme 2019-04-02 23:11:14 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
JAremko 141b6328e3 Reformat docs 2018-11-08 22:37:23 +02:00
JAremko d2f4cb7114 Add Features: list 2018-11-08 22:37:23 +02:00
deb0ch 4036556fb5 fix binding conflicts between evil-mc, magit and treemacs 2018-11-05 22:14:32 +00:00
deb0ch 1402b1bacc formatting 2018-11-05 22:14:32 +00:00
Codruț Constantin Gușoi f5243bb69a Document sublime inspired keybindings 2018-10-27 14:52:03 +03:00
Codruț Constantin Gușoi 25e76bff8e Documentation for multiple cursors 2018-10-27 14:34:08 +03:00
Codruț Constantin Gușoi debf872c06 Renames the multiple cursors paste functions 2018-10-27 14:33:51 +03:00
Codruț Constantin Gușoi 5c6057226e Encapsulates multiple cursors functionality in a layer 2018-10-27 14:33:42 +03:00