Commit Graph

226 Commits

Author SHA1 Message Date
32cedd96f9 Revert 310e657 & bump evil
Thanks to emacs-evil/evil#1255
2020-01-26 05:16:49 -05:00
871201dad6 Minor doc/comment revision & fixes 2020-01-26 01:31:53 -05:00
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
26436752ec Mention evil-{want-Y-yank-to-eol,move-cursor-back} in evil readme 2020-01-24 19:50:29 -05:00
f39aae4d67 Fix column-wise edits affecting empty lines
The docstring for evil-insert-skip-empty-lines is misleading.
2020-01-24 18:33:14 -05:00
f1ab3e5cab Remove redundant evil settings
These are already the default.
2020-01-24 18:33:04 -05:00
8a01ef9082 Fix #2394: load the correct evil-collection module 2020-01-20 20:17:43 -05:00
1b779bf716 Fix evil ex fname modifiers consuming char just before #/%
':e test-%:t.el' in filename.el should open test-filename.el, but
instead opened testfilename.el.
2020-01-20 19:14:25 -05:00
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
52b69ec7eb Fix #2308: DEL not deleting closing sp pairs 2020-01-11 17:07:51 -05:00
3a90529c11 Add lispy to evil collection disabled list
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-01-07 14:22:05 +07:00
310e6573b9 evil-ex-interactive-search-highlight = 'all-windows
Temporary fix until emacs-evil/evil#1233 is resolved.
2020-01-06 22:55:09 -05:00
c6ebf4b4be Fix embrace/evil-surround rules for angular brackets
This fixes surround keys for <>'s in languages that support
type<syntax>, like rust, c++, c#, etc.
2020-01-06 22:46:05 -05:00
7150631f66 Fix evil-delete-backward-and-join
A change upstream causes backspace in evil-buffers to ignore:

1. smartparens pair rules (#2308)
2. delete-selection-mode
3. +default--delete-backward-char-a advice on
   delete-char-backward (which deletes closing pairs, deletes continuous
   whitespace in tab-width steps, and closes braces across blank lines)

Caused by emacs-evil/evil@1d6ba80
2020-01-06 15:22:03 -05:00
4f41a3080d Merge pull request #2307 from bennyyip/develop
editor/evil: fix outdated readme
2020-01-05 20:09:25 -05:00
40a35392d1 Make evil backspace/DEL respect delete-selection-mode
Perhaps this should be fixed upstream?
2020-01-05 19:15:08 -05:00
61f6e7f430 editor/evil: fix: outdated log 2020-01-05 03:40:41 +08:00
369a304f7a Merge pull request #2276 from brettlyons/patch-1
tools/flyspell: fix flyspell-correct
2020-01-02 00:03:16 -05:00
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
69a7c60c3a Update text objects list in evil readme 2019-12-31 17:46:53 -05:00
7a2f4bddea flyspell-correct-word-generic -> flyspell-correct-at-point
New release of flyspell-correct yesterday, removed the word-generic aliases.
(Also in tools/flyspell/config.el)
2019-12-30 15:00:33 -07:00
dcb0b6042e Ensure evil-easymotion is lazy-loaded
The evilem-create calls were pulling it in early, at startup.
2019-12-27 01:54:01 -05:00
d1f4a77fbb Fix vestigial reference to old help-search-headings fn 2019-12-26 16:50:49 -05:00
fe1642e854 Add special goto def/docs support in doom! blocks
- Pressing gd on a module in your doom! block will now browse that
  module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
  within that module's documenation.
- This is now explained in init.example.el

Closes #2249
2019-12-26 01:41:45 -05:00
adc8cba14b Revise docstrings & minor reformatting 2019-12-26 01:41:44 -05:00
d0188b827a editor/evil: set evil-respect-visual-line-mode sooner
So users are able to change it in time in their init.el
2019-12-22 12:26:50 -05:00
b53703d527 General comment revision & reformatting 2019-12-21 15:01:05 -05:00
baae6b1711 Rename +evil/paste-preserve-register => +evil/alt-paste
Now does the invers of evil-kill-on-visual-paste
2019-12-21 03:59:46 -05:00
8562fc0aa3 editor/evil: use <easymotion> event for custom keybinds 2019-12-21 03:51:53 -05:00
bbd02c8fca evil-want-C-w-delete = t & remove C-b/C-f keybinds
M-b and M-f already exist for moving by word, so I'll leave C-b and C-f
to their defaults.
2019-12-21 03:44:44 -05:00
c1879945fd Replace doom/backward-kill-to-bol-and-indent
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
ebf3739cf1 Speed up evil-ex search in magit or long/large buffers 2019-12-20 14:04:15 -05:00
27cabea6b6 Fix gs in org-mode #2218
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
2019-12-20 13:40:06 -05:00
e3a1b0bbe3 Update evil-collection-mode-list; unset evil-collection--supported-modes 2019-12-19 14:51:34 -05:00
c306b2e969 editor/evil: fix :gbr ex command 2019-12-17 15:28:34 -05:00
287ea46133 evil-ex-interactive-search-highlight = 'selected-window 2019-12-15 23:52:17 -05:00
04f95c65e7 editor/evil: evil-respect-visual-line-mode = t
evil 0 motion was fixed in
emacs-evil/evil#12bee185bb7b1a6012e2ae424f60055ad9eedf56
2019-12-09 18:33:26 -05:00
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
bf0efe81ae editor/evil: add :l[ine]diff ex command
Relevant to #2126
2019-12-01 15:41:14 -05:00
e16d6a8d7c Add evil-quick-diff
This introduces the `g o d` text object for comparing regions. It works
like evil-exchange. Select two regions in sequence with `g o d` and an
ediff buffer of the selections will pop up.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-01 15:44:16 +07:00
439fac65d7 editor/evil: evil-respect-visual-line-mode = nil
To match vim's behavior.
2019-11-25 20:43:48 -05:00
6232f12dfd editor/evil: update hacks section in README 2019-11-25 14:02:34 -05:00
26c8f5c6ef Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
263c82def1 Remove references to old ivy/helm search commands
And consolidate ex commands into :pg[rep][!] and :pg[rep]d[!].
2019-11-18 15:06:11 -05:00
449ddb986c Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
03e9dc1daf Follow up on 64222c69c
To fix cases where comment-line-break-function's first argument isn't
optional.
2019-11-15 22:17:31 -05:00
46bea60ad3 Add :Read ex command & 'SPC i p' keybind
This can be used to extract paths from evil-ex style paths. e.g. the
following inserts the stdout into the current buffer (assuming we're in
~/some/project/filename.c):

  :R!echo %:P      ~/some/project
  :R!echo %:t      filename.c
  :R!echo %:e      c
  :R!echo %:r      filename
  :R!echo ~/another/project/%:t:r.h
    ~/another/project/filename.h
  :R %             contents of current file

http://vimdoc.sourceforge.net/htmldoc/cmdline.html#filename-modifiers
has a full list of vim filename modifiers. Doom doesn't support all of
them, but it does support most of them.
2019-11-15 22:17:30 -05:00
ad2b905330 editor/evil: fix gr/gR in notmuch & elfeed 2019-11-15 22:17:30 -05:00
5498b17de2 Bind 'gr' to revert-buffer in dired-mode 2019-11-12 16:24:51 -05:00
99cd52e70f 💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00