Commit graph

171 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
27a448b04b
feat(vc-gutter): add +diff-hl backend
This adds an alternative backend to the :ui vc-gutter module, enabled
with the +diff-hl flag. In the future, I intend for diff-hl to replace
git-gutter, as it is slightly faster and depends on more native
functionality (vc.el), but it's still a little buggy. It will remain
opt-in until those issues are sorted out.
2022-08-08 18:23:47 +02:00
Henrik Lissner
ec2062f517
feat(macos): add 'open in new iTerm window' command
Plus keybinds on '<leader> o I'.

Close: #6318
Co-authored-by: brorbw <brorbw@users.noreply.github.com>
2022-06-21 18:46:25 +02:00
Tony
781e80d849
tweak(default): remove M-{-,=,+} and C-- keybinds
The keybindings M--, M-=, and C-- override the built-in commands
negative-argument and count-words-region. Moreover, the C-- command,
er/contract-region, is already bound transiently to
expand-region-contract-fast-key while expanding regions.
2022-06-18 17:20:49 +02:00
Henrik Lissner
7121e993ca
bump: :completion
PythonNut/helm-flx@6640fac5cb -> PythonNut/helm-flx@27dd9e3ce3
abo-abo/swiper@c97ea72285 -> abo-abo/swiper@764e0d35ba
company-mode/company-mode@073aef72dd -> company-mode/company-mode@1005540b1c
emacs-helm/helm@5b17313011 -> emacs-helm/helm@1003539c2e
minad/consult-flycheck@0ad7e8ff15 -> minad/consult-flycheck@9b40f136c0
minad/consult@473e6585c5 -> minad/consult@36b8bc7065
minad/marginalia@e63d27e6fb -> minad/marginalia@a514c024ac
minad/vertico@a92b1e47ff -> minad/vertico@7ec0f0c076
oantolin/embark@06d5caafd5 -> oantolin/embark@2890e535f5
oantolin/orderless@f2c78c4a60 -> oantolin/orderless@8f64537f55
2022-04-08 02:52:54 +02:00
Joao Azevedo
b42d7afd9a
fix(default): replace vertico-repeat w/ vertico-repeat-last
vertico-repeat was replaced by vertico-repeat-last.

Amend: 0e802f4653
2022-04-05 00:05:31 +02:00
Lele Gaifax
e5213f20e5 nit: fix several documentation typos 2022-01-10 02:21:49 +01:00
Jorge Javier Araya Navarro
cd93df6ae8 fix(default): use persp-keymap-prefix's setter 2021-11-24 13:11:17 +01:00
shelper
8886216874
bump: :tools biblio
bdarcus/bibtex-actions@08c6ca0e5b -> bdarcus/citar@fd33f5c4f7

bibtex-actions is now called citar, and the package comes with
configuration for embark.

Fix: #5723
Close: #5747
Co-authored-by: MPNV38 <MPNV38@zebra.com>
2021-11-18 19:14:51 +01:00
Carlos Pita
4903db036d tweak(default): improve smartparens vanilla bindings
Make bindings better conform to traditional sexp navigation ones.

Fix #5575
2021-10-05 02:30:51 +02:00
Itai Y. Efrat
74aae48944 feat(default): add .emacs.d search on <leader> s e 2021-09-23 11:40:04 +02:00
Itai Y. Efrat
d2d940fdf1 feat(lsp,vertico): add consult-eglot
- Load when :tools lsp +eglot and :completion vertico are on
- Bind consult-eglot-symbols to <leader> c j
2021-09-15 01:03:11 +03: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
Itai Y. Efrat
b7901231d4 feat(vertico): add <leader> s B binding 2021-07-31 10:45:00 +03:00
Itai Y. Efrat
9e31d0dac0 fix(vertico): <leader> c J binding
- needs to be `cmd!!` for the prefix argument
- use descriptive quoted symbol instead of `'(4)` for prefix arg
2021-07-31 10:44:00 +03:00
Henrik Lissner
c2e6db27d0 tweak: adopt +vertico as our default backend
This has been a long time coming. Vertico et co turned out to be what I
wanted ivy to be and more.
2021-07-28 13:11:45 -04:00
Henrik Lissner
4ac5332a1d
Merge pull request #5271 from Wetlize/add-roam2
lang/org: Add `+roam2` flag for org-roam v2
2021-07-25 04:13:03 -04:00
Itai Y. Efrat
a0eb4e9b65 completion/selectrum -> completion/vertico, part 3
- Rename all functions and variables in the module to reflect the
  namechange (and the irc jump function)
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
f9e1c99b2b completion/selectrum -> completion/vertico, part 1
- Use `vertico` as default completion engine
- Drop `selectrum` and `selectrum-prescient` support
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
d3eff82b9d selectrum: add experimental vertico flag 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
ed922a62cb selectrum: improve bindings
- add missing emacs bindings
- properly feature guard swiper related bindings
- for selectrum, unbind `SPC s B` and temporarily bind `SPC s s` to
  isearch to prevent don't get errors until we decide what to do there.
- update readme to reflect that
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
26a310d04c selectrum: improve ivy parity
- add `completion-at-point` as analogue to `cousnel-company`
- fix emacs-bindings `counsel-company` binding to respect helm and selectrum
- add org jump commands `consult-org-heading` and `consult-org-agenda` bindings
- add `consult-history` as `counsel-minibuffer-history` analogue
- add support for `doom/help-search`
- update TODO.org
2021-07-25 02:50:31 +03:00
Itai Y. Efrat
b9757e75ed selectrum: update bibtex-actions config
- fix loading order issue
- include (temporary?) binding in `SPC n b` to `bibtex-actions-open-entry`
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
b9e34835c7 selectrum: update bindings 2021-07-25 02:49:41 +03:00
Itai Y. Efrat
750721492c selectrum: add consult-lsp
- add `consult-lsp` to tools/lsp if the selectrum module is active
- add the selectrum/consult version of workspace symbol search under `SPC c j/J`
- update TODO.org
2021-07-25 02:49:41 +03:00
Wetlize
ff331781c5 Bump org-roam
org-roam/org-roam@e997c01 -> org-roam/org-roam@028c95a
2021-07-25 02:20:50 +03:00
Wetlize
5ef733b488 lang/org: Add +roam2 flag for org-roam v2 2021-07-25 01:42:09 +03:00
Henrik Lissner
b2bff61fc9
Merge pull request #4910 from ellakk/fix-c-ret-company
config/default: Fix C-return binding in GUI Emacs
2021-07-24 18:31:40 -04:00
Ori Barbut
ae5640dc9d emacs-bindings: default toggle for wrapping
Use `visual-line-mode' when the `word-wrap' module is not enabled. Uses
the same wording and logic as the evil bindings.
2021-07-21 06:50:36 -04:00
Henrik Lissner
e2ca32bd6b Fix fill column indicator toggle on 'SPC t c'
The :ui fill-column module was dropped in 044a1a5f2.
2021-07-12 10:24:31 -04:00
Colin Woodbury
42ff369142
SPC TAB N binding (#5173)
* Introduce `SPC TAB N` binding

* Add vanilla Emacs binding
2021-07-09 01:13:13 -04:00
George Thomas
74fc7ae664
Fix command to show git log of current buffer file
Currently <kbd>SPC g L</kbd> runs `magit-log` which opens a context
window for git log with an option selected that limits the log to the
file open in buffer. The user then has to press <kbd>l</kbd> to actually
see the log. The same result can be achieved by calling
`magit-log-buffer-file` instead
2021-07-07 03:33:13 +05:30
Itai Y. Efrat
8a40e83ab5 unicode-chars-list-chars -> insert-char
`unicode-chars-list-chars` doesn't seem to be an actual function (not
defined in emacs or found online), and `insert-char` seems like what one
would want here.
2021-05-13 17:04:16 +03:00
Kalle Lindqvist
8e33ecf29a config/default: Fix C-return binding in GUI Emacs
The "C-RET" binding does only seem to work when running Emacs in a
terminal. "C-<return>" makes it work in the GUI.
2021-04-22 19:37:42 +02:00
Eric Dallo
53bd779cc9
ui/treemacs: add +lsp flag 2021-04-14 18:21:04 -03:00
Henrik Lissner
64f791eda2 Bind <leader> s B -> swiper-all 2021-03-27 15:24:44 -04:00
Henrik Lissner
fa4f03de22 Fix #4784: browse-at-remote-prefer-symbolic = nil
+ Default browse-at-remote-prefer-symbolic to nil because a permanent
  URL is generally more desirable for developers sharing links.
+ 'SPC g y' and 'SPC o o' now support the prefix arg, which will negate
  the default value of browse-at-remote-prefer-symbolic for that call.
2021-03-11 13:41:16 -05:00
Paul Wilkinson
fa292bebbb Fix the "Yank file path" non-evil bindings
+default/yank-buffer-filename was replaced in
be9b3ff352 and +evil-bindings.el was
updated accordingly. This commit makes the corresponding updates in
+emacs-bindings.el.
2021-03-04 21:27:36 +00:00
Henrik Lissner
b681a2e1b4 Fix +zen/toggle-fullscreen keybind for vanilla users 2021-02-25 12:12:53 -05:00
Henrik Lissner
3e32379f54 ui/zen: add +zen/toggle{,-fullscreen} commands
A more reliable "Distraction-free" fullscreen mode.
2021-02-24 18:06:30 -05:00
Misaka
5dedf00811 Fix find file in private config for emacs bindings 2021-02-04 16:06:56 +08:00
Marc-André Lureau
f0a5d454c5 Bind useful magit-file-dispatch
Thanks to this blog post for teaching me about it:
https://emacsredux.com/blog/2020/12/10/essential-magit-file-commands/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-12-11 15:51:45 +04:00
drchsl
910e3bc1d9 config/default: update deprecated bindings
deprecation notice:
47e83f7d3f
2020-12-02 19:16:25 +01:00
Chris Rose
18db5e2089 Add keybindings for roam tagging
"t" to tag a roam file with the `#+roam_tags` property.
"T" to untag the file
2020-11-22 10:28:24 -08:00
Henrik Lissner
03fe396eea
Move +default/{find-in,browse}-emacsd to core lib
Renamed them to:

+ doom/find-file-in-emacsd
+ doom/browse-in-emacsd
2020-11-19 00:44:16 -05:00
Henrik Lissner
ee6c27c2a0
Merge pull request #4143 from innerout/fold-docs
Add emacs bindings and documentation in fold module
2020-11-06 02:33:53 -05:00
Henrik Lissner
3abd26aaff
Remove smartparens keys on vanilla C/M arrow keys
Maybe some extra effort is needed to make these only available in lisp
modes, but this has proven to be a poor global default.
2020-11-02 14:43:12 -05:00
George Xanthakis
250b7d1d8b Move keybinds to +emacs-bindings 2020-10-29 23:35:21 +02:00
Henrik Lissner
9929883bf9
Merge pull request #4001 from akirabaruah/emojify
ui/emojis: New module for inserting/displaying emojis
2020-10-19 01:25:47 -04:00