Henrik Lissner
54d8c49d8b
refactor(file-templates): suppress in indirect buffers
...
Change how we detect and suppress file template expansion in org-capture
buffers (which are indirect clones). Since 99.99% of the time, an
indirect clone means we're doing something special in that buffer, it
seemed sensible to always suppress file templates in them. Hopefully
this will be more robust than the former advice.
2022-03-21 03:57:02 +01:00
Ian Kerins
893b4171b7
tweak(file-templates): remove default JSON template
...
As described at https://www.json.org/json-en.html , JSON has multiple
top-level forms (at least objects and arrays, and potentially all values
as well, depending on who you ask). Of these, I would not say array is a
good default. I frequently find myself deleting this default, generally
to use an object instead.
Because there is no consistent winner, and because the template is so
trivial, it seems best to simply delete it: the cost of the template not
matching the user's intent outweighs any benefit it stands to deliver
when it does match the user's intent.
2022-03-19 16:14:53 +01:00
Michael Chen
a505eae88f
fix(multiple-cursors): keybinds for {next,last}-cursor
2022-03-19 16:12:30 +01:00
Dan
42e5763782
fix(evil): respect users' evil-collection-key-blacklist
2022-02-23 17:49:53 +01:00
Layerex
169896e9ad
tweak(file-templates): update default solidity template
...
- Added SPDX-License-Identifier
- Renewed default version pragma
2022-02-23 17:47:14 +01:00
Henrik Lissner
6ab43ff252
tweak(file-templates): use NAME <EMAIL> for Author: line
...
Instead of the github URL. No guarantee the user is a github user.
2022-02-23 15:23:14 +01:00
Henrik Lissner
4b75100aea
fix(multiple-cursors): "No search pattern" error from evil-mc
...
Our hacks were too eagerly clearning evil-mc's state. These changes will
ensure that doesn't happen.
Perhaps its time I package this up into a PR upstream?
Fix : #6091
2022-02-10 21:07:20 +01:00
7ym0n.q6e
d833242de7
fix(evil): +evil/next-preproc-statement -> +evil/next-preproc-directive
...
+evil/next-preproc-statement does not exist.
Ref: 83387d89e9
2022-02-10 04:07:16 +01:00
Henrik Lissner
1db8462d6b
bump: :editor evil
...
emacs-evil/evil-collection@0ce1ea96b4 -> emacs-evil/evil-collection@e69abfcb1c
emacs-evil/evil@a5fd96dadc -> emacs-evil/evil@be97395e31
wcsmith/evil-args@758ad5ae54 -> wcsmith/evil-args@2671071a4a
Fix : #6037
Ref: emacs-evil/evil#1573
Ref: emacs-evil/evil#1566
2022-01-27 18:49:21 +01:00
Henrik Lissner
09098bed48
fix(evil): activate evil-collection-mpc
...
Amend: 86034131c4
2022-01-27 03:49:53 +01:00
Henrik Lissner
1d41ee0c1a
refactor(evil): use window-swap-states in +evil--window-swap
...
Taking a look at the built in windmove functions shows that Emacs has a
built in function for swapping windows called `window-swap-states`.
Using this ensures the window state is maintained.
Ref: #6023
Co-authored-by: luveti <luveti@users.noreply.github.com>
2022-01-27 03:43:51 +01:00
Henrik Lissner
b2b19e7196
fix(multiple-cursors): contextually activate minor mode
...
evil-mc's design is bizarre. Its variables and hooks are lazy loaded
rather than declared at top-level, some hooks aren't defined or
documented, it's a bit initializer-function drunk, and its minor modes
are intended to be perpetually active -- even when no cursors are active
(causing #6021 ). I undo all of that here.
Fix : #6021
2022-01-27 03:43:51 +01:00
Dan
1643124104
fix(evil): window-selection-change-functions use case
...
`window-selection-change-functions` expects hooks to have one argument.
2022-01-27 03:33:13 +01:00
Henrik Lissner
86034131c4
bump: :editor evil
...
Dewdrops/evil-exchange@ac50f21b29 -> Dewdrops/evil-exchange@5f0a2d4143
emacs-evil/evil-collection@1b9d5c5d93 -> emacs-evil/evil-collection@0ce1ea96b4
emacs-evil/evil@b00018bf55 -> emacs-evil/evil@a5fd96dadc
redguardtoo/evil-nerd-commenter@63baf2d1c7 -> redguardtoo/evil-nerd-commenter@42ba1a473b
Close : #5983
2022-01-12 01:55:34 +01:00
Henrik Lissner
ae130607a6
bump: :editor snippets
...
hlissner/doom-snippets@3083b2342f -> doomemacs/snippets@3083b2342f
2022-01-03 16:51:51 +01:00
Henrik Lissner
fe3f8866d8
fix(evil): disable evil-collection-smerge-mode
...
evil-collection-smerge-mode is broken due to incorrect pathing upstream,
so evilified keybinds for smerge-mode will have to wait until it is
addressed there.
Amend: 8d6221bc1e
Amend: 7bbc3bc48e
2021-12-14 01:21:33 +01:00
Henrik Lissner
8d6221bc1e
fix(evil): evil-collection-smerge-mode
...
Amend: 7bbc3bc48e
2021-12-13 20:08:18 +01:00
Henrik Lissner
7bbc3bc48e
bump: :editor
...
abo-abo/lispy@e9731aa955 -> abo-abo/lispy@bf31576802
emacs-evil/evil-collection@652d74acfb -> emacs-evil/evil-collection@1b9d5c5d93
emacs-evil/evil@07aba40dd3 -> emacs-evil/evil@b00018bf55
emacsorphanage/god-mode@1d7d647bb5 -> emacsorphanage/god-mode@d7e9330950
hlissner/doom-snippets@5c0eb5bd70 -> hlissner/doom-snippets@3083b2342f
2021-12-13 19:30:42 +01:00
Quoc Huy Vu
0352ade454
fix(evil): correct typesetting quotations in latex
...
Use `evil-embrace` for typsetting quotations in latex instead of
`evil-surround`.
2021-11-30 14:05:57 +01:00
Quoc Huy Vu
c09777b36b
fix(evil): handle edge cases of embrace
...
If the surround key is `\(`, the text should be surrounded as
`\( text \)`. The same for `\[` and `\{`.
2021-11-25 01:45:09 +01:00
Henrik Lissner
5241555676
bump: :editor multiple-cursors
...
hlissner/evil-multiedit@15a47540db -> hlissner/evil-multiedit@23b53bc874
Fix : hlissner/evil-multiedit#44
Fix : hlissner/evil-multiedit#46
2021-11-21 17:51:24 +01:00
Henrik Lissner
407cf56a04
fix(multiple-cursors): references to removed keymaps
...
Fix : #5802
Ref: hlissner/evil-multiedit@36904ce86e
2021-11-21 03:46:45 +01:00
Henrik Lissner
8645634608
bump: :editor evil multiple-cursors
...
emacs-evil/evil-collection@63d84ff4bd -> emacs-evil/evil-collection@652d74acfb
emacs-evil/evil@17c635f6e1 -> emacs-evil/evil@07aba40dd3
hlissner/evil-multiedit@50179bfb26 -> hlissner/evil-multiedit@15a47540db
hlissner/evil-snipe@1a28d718c8 -> hlissner/evil-snipe@a79177df40
magnars/multiple-cursors.el@588daf8c52 -> magnars/multiple-cursors.el@8a60fc7ef0
- Fixes "void-variable: evil-digit-bound-motions" errors (#5700 )
- Adds evil-collection support for:
- Forge: emacs-evil/evil-collection@33461aa545
- Org: emacs-evil/evil-collection@9e47d61bdf
- Scheme: emacs-evil/evil-collection@838f609899
Fix : #5700
2021-11-18 18:56:16 +01:00
Henrik Lissner
a08ec4ab16
bump: :editor evil
...
emacs-evil/evil-collection@6709c1ec41 -> emacs-evil/evil-collection@63d84ff4bd
emacs-evil/evil@ebae35360c -> emacs-evil/evil@17c635f6e1
redguardtoo/evil-nerd-commenter@6bc41317ba -> redguardtoo/evil-nerd-commenter@63baf2d1c7
New version of evil was required by latest commit of
evil-multiedit (bumped in 363a031699
).
Ref: 363a031699
Fix : #5700
2021-10-28 19:57:33 +02:00
Henrik Lissner
363a031699
bump: :editor multiple-cursors
...
gabesoft/evil-mc@f04fb17f35 -> gabesoft/evil-mc@246aecc174
hlissner/evil-multiedit@9f271e0e60 -> hlissner/evil-multiedit@50179bfb26
magnars/multiple-cursors.el@616fbdd369 -> magnars/multiple-cursors.el@588daf8c52
evil-multiedit is no longer locked to victorhge/iedit@77eb0a1e2e ; its
incompatibilities were resolved upstream (see
hlissner/evil-multiedit#39 ).
Ref: hlissner/evil-multiedit#39
2021-10-28 14:32:27 +02:00
Björn Larsson
8101661763
docs(rotate-text): add README ( #5654 )
2021-10-18 01:43:37 +02:00
Henrik Lissner
3106443707
fix(file-templates): +file-templates/debug
...
Command was previously inoperable (threw an error).
2021-10-18 01:15:09 +02:00
Kenneth Lin
380d04f890
fix(evil): reference to removed command ( #5608 )
...
+vc/browse-at-remote-file-or-region no longer exists.
+vc/browse-at-remote seems like the reasonable replacement.
2021-10-11 00:13:11 +02:00
Henrik Lissner
b092a8f8e7
bump: :editor evil
...
emacs-evil/evil-collection@bc5a02ed85 -> emacs-evil/evil-collection@6709c1ec41
emacs-evil/evil@d8f5732708 -> emacs-evil/evil@ebae35360c
2021-10-10 20:15:40 +02:00
Henrik Lissner
0bb4d4dfcb
refactor: switch buffer/frame/window hooks
...
Emacs 27 introduced a bunch of `window-*-change-functions` hooks,
including `window-selection-change-functions` and
`window-buffer-change-functions`, which handles 98% of the use case for
Doom's `doom-switch-{buffer,window,frame}-hook` hooks, so I've rewritten
them to use them under the hood, which amounts to simpler code and fewer
hacks.
2021-10-10 18:36:46 +02:00
Artem Smaznov
68c5336972
fix(evil): disable evil-snipe in dired ( #5417 )
...
Fix #3359
2021-10-07 03:11:03 +02:00
Henrik Lissner
4549b275f2
fix(format): format-all-mode not activating
...
Also makes format-all log more when doom-debug-mode is on.
Fix #5589
2021-10-06 13:58:16 +02:00
Henrik Lissner
ee890064f8
bump: :editor evil
...
emacs-evil/evil-collection@8a75a03656 -> emacs-evil/evil-collection@bc5a02ed85
emacs-evil/evil@82e5becae2 -> emacs-evil/evil@d8f5732708
Improves first-load time for consult commands, thanks to
emacs-evil/evil-collection@03d80be41b .
Ref emacs-evil/evil-collection#539
Ref emacs-evil/evil-collection@03d80be41b
2021-10-06 01:30:45 +02:00
Henrik Lissner
45c759d7d7
fix(evil): evil-join fails to join commented lines
...
Fix #5558
2021-10-05 02:33:15 +02:00
Daanturo
f794e8b58a
feat(rotate-text): add enable & disable
2021-10-05 02:29:59 +02:00
Colin Woodbury
fc79256de5
fix(parinfer): robust check for shared Rust object
...
This helps other platforms like Nix that put shared objects in
interesting places.
2021-09-29 15:03:36 -07:00
Colin Woodbury
8377046e5a
docs(parinfer): update README to latest template
2021-09-29 15:03:36 -07:00
Colin Woodbury
be137e04b0
refactor!(parinfer): drop support for parinfer-mode
...
BREAKING CHANGE: It is no longer maintained, and its author directly
recommends `parinfer-rust-mode`.
Fix #4323
2021-09-29 15:03:36 -07:00
Colin Woodbury
c1ecbb7503
fix(parinfer): unhog binding of SPC m m
...
This was previously clobbering the underlying binding to the ubiquitous
`macrostep-expand` function in Elisp buffers.
2021-09-29 15:03:32 -07:00
Sam Hedin
771b7147c9
revert: "Add set -euo pipefail to sh-mode file template"
...
Revert ce2fee138a
Close #5428
2021-09-23 11:36:09 +02:00
HyunggyuJang
33e922645b
fix(snippets): yas-expand error on yas-choose-value ( #5429 )
...
`+snippets-prompt-private` was overzealous intercepting the candidates fed to
`yas-choose-value`. For example, expanding the `jupyter` snippet in org mode
results in:
\#+begin_src jupyter-Wrong type argument: yas--template, "python" :session :async yes
...
\#+end_src
2021-09-15 18:59:43 +02:00
Henrik Lissner
a0a45ce81a
bump: :editor evil
...
emacs-evil/evil-collection@9be3805b60 -> emacs-evil/evil-collection@8a75a03656
emacs-evil/evil@b237462fee -> emacs-evil/evil@82e5becae2
hlissner/evil-snipe@a9b9b39a79 -> hlissner/evil-snipe@1a28d718c8
juliapath/evil-numbers@cd23a7b458 -> juliapath/evil-numbers@8ce0066fa4
redguardtoo/evil-nerd-commenter@118bebd02a -> redguardtoo/evil-nerd-commenter@6bc41317ba
Fixes evil-collection-magit keybinds for magit-stash and
magit-worktree (on Z).
Ref emacs-evil/evil-collection@940dfe91aa
Ref emacs-evil/evil-collection@53a76e15df
Fix #5260
2021-09-15 17:47:17 +02:00
Itai Y. Efrat
2fdcefa831
feat(default): add +default/diagnostics
...
Unify flycheck-list-errors and flymake-show-diagnostics-buffer under
+default/diagnostics, and use consult-lsp-diagnostics if the lsp and
vertico modules are active.
2021-09-15 01:02:46 +03:00
Alex Griffin
a5ce61aa55
fix(multiple-cursors): keybind conflict with embark
...
Fixes #5374 .
2021-09-14 19:06:04 +02:00
bartuka
b598d83aeb
feat(file-templates): add clojure gitignore template ( #5357 )
2021-09-14 14:27:55 +02:00
Henrik Lissner
8e30579823
tweak(evil): reduce keybind conflicts between outline & org
...
This doesn't fix a particular issue, but makes designing keybinds for
org-mode more predictable and less vulnerable to unpredictable changes
imposed by evil-collection.
2021-09-13 17:29:12 +02:00
Itai Y. Efrat
2bfb8be383
fix(evil): use evil-collection for package-menu
...
I can't find a rationale for this in the git history, and from looking
through the evil-collection entry I can't think of one.
2021-09-11 18:48:40 +02:00
Henrik Lissner
d88948f764
fix(file-templates): github user in elisp packages
2021-08-16 11:36:09 -04:00
Henrik Lissner
6c52e33302
fix(evil): don't load help.el twice
...
a2a128d3
changed prefix-help-command to use embark. This commit fixes
prefix-help-command getting reset to describe-prefix-bindings due to
help.el setting it at top-level because it is eventually loaded twice
due to defer-feature!, which removes a symbol from emacs' list of loaded
features.
Ref a2a128d3a5
2021-08-05 21:24:01 -04:00
Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00