Commit Graph

10932 Commits

Author SHA1 Message Date
18f74d277f feat(org): keybinds for removing #+RESULTS blocks
Added new keybinds for easy removal of RESULTS blocks in org-mode.

SPC m k - delete RESULTS block under cursor
SPC m K - delete all RESULTS blocks under cursor
SPC u SPC m K - delete all RESULTS blocks in buffer
2022-03-19 16:19:54 +01:00
09b3004abe feat(magit): add evil keybinds for code-review
Add the two main keybindings expected in the README of code-review: `r`
for a transient menu with all actions and `RET` to add or edit a
comment. Both should only be enabled while in a `*Code Review*` buffer.

Ref: https://github.com/wandersoncferreira/code-review
2022-03-19 16:18:58 +01:00
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
6c4b7169f0 feat(hydra): add winner commands to +hydra/window-nav 2022-03-19 16:14:33 +01:00
a505eae88f fix(multiple-cursors): keybinds for {next,last}-cursor 2022-03-19 16:12:30 +01:00
8e08c651a6 feat(idris): add +lsp support 2022-03-19 16:11:42 +01:00
0140a419fd fix(ibuffer): wrong-number-of-args error on ibuffer-find-file w/ ivy 2022-03-19 16:10:52 +01:00
Dan
42e5763782 fix(evil): respect users' evil-collection-key-blacklist 2022-02-23 17:49:53 +01:00
e16d8b6011 feat(multiple-cursors): add bindings to evil-mc-skip-* 2022-02-23 17:49:22 +01:00
TEC
0b6e63a6d1 feat(mu4e): more helpful headers mode-line symbols 2022-02-23 17:49:03 +01:00
71e07da578 feat(ligatures): include support for new ligatures
Includes support for =<= and =>= ligatures
2022-02-23 17:48:01 +01:00
f63aad2ff6 tweak(emacs-lisp): local leader for lisp-interaction-mode 2022-02-23 17:47:39 +01:00
169896e9ad tweak(file-templates): update default solidity template
- Added SPDX-License-Identifier
- Renewed default version pragma
2022-02-23 17:47:14 +01:00
a6eedafb78 bump: :lang coq
ProofGeneral/PG@2145c23f44 -> ProofGeneral/PG@df19c7ba0e
2022-02-23 17:46:56 +01:00
1a0c4e4d14 bump: :lang scheme
emacs-geiser/chez@03da1c1725 -> emacs-geiser/chez@48427d4aec
emacs-geiser/chibi@6f59291d8d -> emacs-geiser/chibi@5a6a5a580e
emacs-geiser/chicken@ceab39c896 -> emacs-geiser/chicken@79a9ac78f4
emacs-geiser/gambit@3294c944d1 -> emacs-geiser/gambit@381d74ca50
emacs-geiser/geiser@327ff01e5b -> emacs-geiser/geiser@c1cc4da1ed
emacs-geiser/guile@8dda28f4f1 -> emacs-geiser/guile@cfd9116dcb
emacs-geiser/kawa@3d999a33de -> emacs-geiser/kawa@5896b19642
emacs-geiser/mit@d17394f577 -> emacs-geiser/mit@4e90e9ae81

Close: #6140
2022-02-23 15:23:14 +01:00
d1e8a389db bump: :checkers spell
ideasman42/emacs-spell-fu@10823ae58f -> ideasman42/emacs-spell-fu@8185467b24
d12frosted/flyspell-correct@00357953a7 -> d12frosted/flyspell-correct@e9fde6f93a

- spell-fu added multiple dictionary support (see #6136)

Close: #6136
Co-authored-by: Samuel Tschiedel <mukaobr@gmail.com>
2022-02-23 15:23:14 +01:00
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
849672691d fix(emoji): restore emoji in org-mode
Amend: d499b98c87
2022-02-19 01:08:08 +01:00
bdac4466f8 tweak(org): move org-persist-directory to doom-cache-dir 2022-02-19 01:08:08 +01:00
89deac190d fix(vertico): signature for +vertico/switch-workspace-buffer
An unused argument I forgot to remove.

Amend: 81629dc2ad
2022-02-17 21:17:39 +01:00
81629dc2ad feat(vertico): switch to buffer's workspace
When selecting a buffer in another workspace with
+vertico/switch-workspace-buffer, that workspace will be switched to,
instead of opening the buffer in the current workspace.
2022-02-17 21:14:27 +01:00
72c7d07fb4 fix(vertico): 9 workspace limit in switch-workspace-buffer
+vertico/switch-workspace-buffer was hardcoded to only list buffers from
the first 9 workspaces. This removes that limit.

Minor catch: workspaces beyond 9 will use lower case a-z as narrowing
keys, followed by upper case A-Z. There will not be any valid narrowing
keys beyond 61 workspaces -- but who in the world would have that many?
2022-02-17 21:14:24 +01:00
26d5163ba0 fix(default): no usable configuration epg-error
Introduced in dcae28c83a, because ignore-errors was being used for the
wrong epg-* function.

Why this happens: epg-make-context throws this error if you don't have a
GnuPG environment set up.

Fix: #6114
Amend: dcae28c83a
2022-02-16 02:13:35 +01:00
fc868105ce fix(dired): prevent auto-revert in dired-virtual-mode
dired-virtual-revert (the revert handler for dired-virtual buffers)
simply errors out and prompts the user if they want to switch to a
"real" dired buffer. This isn't helpful the automated nature of
auto-revert, so silence it.
2022-02-14 21:24:46 +01:00
cc1433ca6d fix(beancount): void-variable select error 2022-02-14 21:24:46 +01:00
aac2c65826 tweak(magit): shrink right fringe
The right fringe isn't used for anything, so it was wasted space.

Also applies to org-roam's backlinks buffer.
2022-02-14 21:24:46 +01:00
dcae28c83a fix(default): don't default to disabled/expired pgp keys
And don't use the short ID (see evil32.com).

Ref: https://evil32.com/
2022-02-14 21:24:42 +01:00
1382decb0d bump: :lang csharp
emacs-csharp/csharp-mode@fe8a68e984 -> emacs-csharp/csharp-mode@9917e1b97d
2022-02-14 21:23:33 +01:00
c6d1bf6e8d fix(org): roam minibuffer completion width
To address an issue upstream where the container's width is incorrectly
calculated for vertico.

Ref: org-roam/org-roam#2066
2022-02-11 02:31:22 +01:00
4c3be5e379 refactor(org): org-roam-node-doom-subdirs
Didn't need to be so convoluted.
2022-02-11 02:02:34 +01:00
9217bb81f4 fix(org): org-babel-do-in-edit-buffer deleting popups
Fix: #6061
2022-02-10 21:28:55 +01:00
9672dbcb5e refactor(org): name anonymous keybind on RET
Makes it easier to advise, swap, or reference.
2022-02-10 21:07:20 +01:00
d499b98c87 fix(emoji): don't render emoji in verbatim org text 2022-02-10 21:07:20 +01:00
b7841e3659 fix(spell): disable flyspell-lazy in message-mode
Without this, flyspell is never started in these buffer (e.g. when
composing mail w/ Notmuch).

Fix: #3357
2022-02-10 21:07:20 +01:00
8e691e810f refactor!(org): backlinks buffer management
BREAKING CHANGE: The +org-roam-open-buffer-on-find-file variable was
renamed to +org-roam-auto-backlinks-buffer *and* is now disabled by
default. When this is non-nil, it will open the *org-roam* backlinks
side window when roam files are visible, and close it when they aren't.

This change also makes this behavior a little more robust, but is
understandably not everybody's (read: most people's) cup of tea, so it
is now opt-in.
2022-02-10 21:07:20 +01:00
7304a8de8f tweak(org): separate roam tags from types
- No longer hard-code fontification of tags and types in roam
  completion.
- Prefix types with @ and tags with # -- makes them easier to search for
  in completion -- and swap types and hierarchy columns. I.e.

  before: TYPE   TITLE   [TAG [TAG...]]
  after:  TITLE   @TYPE   [#TAG [#TAG...]]
- Exclude unwanted (i.e. meta) tags from public display, like ATTACH,
  ARCHIVE, or anything in org-num-skip-tags.
2022-02-10 21:07:20 +01:00
11cc896e8f tweak(org): use org-eldoc-breadcrumb-separator for roam note hierarchy
More consistent and configurable.
2022-02-10 21:07:20 +01:00
47280132a1 nit(tty): revise comments
Minor corrections and a little more detail.
2022-02-10 21:07:20 +01:00
99ecc264f7 fix(tty): xterm-set-window-title in GUI emacs
This was fixed in Emacs 28.0.91, but the advice will remain for 27
users. At least until we drop support for it.

Fix: #4977
Ref: emacs-mirror/emacs@89d02841ab
2022-02-10 21:07:20 +01:00
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
958472b048 feat(beancount): add clone-transaction commands 2022-02-10 21:07:20 +01:00
009613a470 refactor(default,lib): doom--org-headings 2022-02-10 21:07:20 +01:00
3c2c23f705 feat(org): use roam:X link description if X is empty
Saves on some typing if you want to link to zettels that don't exist
yet.
2022-02-10 21:07:20 +01:00
ba662ea939 refactor(org): org-roam config
- Remove redundant org-roam-mode-section-functions setting (same as its
  default value).
- Remove redundant org-roam-db-location setting (same as its default
  value).
- Fix redundant parentheses.
- Add comment explaining turn-on-visual-line-mode hook.
2022-02-10 21:07:20 +01:00
dd33f57513 fix(org): don't auto-open roam buffer if in capture popup 2022-02-10 21:07:20 +01:00
10bbdecb5c tweak(org): reverse org-roam-list-files-commands
Prioritize faster searcher over slower.
2022-02-10 21:07:20 +01:00
394f7be6c5 bump: :completion vertico
minad/consult@0940ca0165 -> minad/consult@2106eee75f
minad/marginalia@9229d88ae4 -> minad/marginalia@e9540a7b80
minad/vertico@a8fe9a0b2e -> minad/vertico@509ca602c7
oantolin/embark@c9b26c2e18 -> oantolin/embark@56e28c23d5
oantolin/orderless@1ccf74ffdb -> oantolin/orderless@ce462a63e3

- Marginalia introduced library annotations in
minad/marginalia@5e646cc (minad/marginalia#127), which opens us up to
  corner cases where decompression of library files (to retrieve their
  description) fails and brings down  vertico with it.
  marginalia--library-doc has been advised to suppress these errors.

Fix: #6099
Ref: minad/marginalia@5e646cc3f6
Ref: minad/marginalia#127
2022-02-10 21:07:20 +01:00
8179dc641e fix(org): better-jumper support for more links
Doom sets jump points before following most org links. This allows you
to jump back to where you were afterwards using
C-o (better-jumper-jump-backward) or forward with
C-i (better-jumper-jump-forward). It does this by setting a jump point
on the org-open-at-point-functions hook.

However, not all org links' :follow handlers trigger this hook (like id:
or roam: links), and you can get around it by triggering link opener
handlers directly (with M-x org-goto). Most of these link openers use
org-mark-ring-push to record jump points in org's own jumplist, so
advising it to call better-jumper-set-jump should address more of these
fringe cases.

Fix: #6098
2022-02-10 21:07:20 +01:00
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
4cabedf94c tweak!(layout): bepo -> vanilla i_ctrl-* keys
BREAKING CHANGE: Ctrl-* keys are back to default meaning in insert mode

Changing the signification of Ctrl-* keys in insert mode seems
unnecessary and ends up confusing because it is not necessarily the same
bindings as in normal mode.
2022-02-09 20:36:42 +01:00