Commit graph

866 commits

Author SHA1 Message Date
Henrik Lissner
2bc67d8387 bump: :app :checkers :config :emacs :term :tools :ui
Alexander-Miller/treemacs@a6f9e9f1ce -> Alexander-Miller/treemacs@63e2bc207a
Silex/docker.el@9bcefbe54d -> Silex/docker.el@4fc69969b1
akermu/emacs-libvterm@2b1392cb2b -> akermu/emacs-libvterm@2681120b77
bdarcus/bibtex-actions@6e3a194c3a -> bdarcus/bibtex-actions@08c6ca0e5b
dash-docs-el/dash-docs@dafc8fc9f1 -> dash-docs-el/dash-docs@29848b6b34
dgutov/diff-hl@992559f98a -> dgutov/diff-hl@40c89a7b0d
dimitri/switch-window@2801d9b3a9 -> dimitri/switch-window@8d9fe251d8
editorconfig/editorconfig-emacs@e10fa22b13 -> editorconfig/editorconfig-emacs@2ab86dc9a8
ema2159/centaur-tabs@9c7c936e4e -> ema2159/centaur-tabs@8b4249c405
emacs-circe/circe@d6f1fa1864 -> emacs-circe/circe@77e16de3b9
emacs-lsp/lsp-treemacs@905cc74726 -> emacs-lsp/lsp-treemacs@d82df44d63
emacsorphanage/osx-trash@0f1dc052d0 -> emacsorphanage/osx-trash@af74a2055a
emacsorphanage/quickrun@35e91f4b6c -> emacsorphanage/quickrun@78317951cd
flycheck/flycheck@21d52264aa -> flycheck/flycheck@784f184cdd
hlissner/emacs-doom-themes@9e2680b918 -> hlissner/emacs-doom-themes@65fb964f36
https://git.savannah.gnu.org/git/emms.git@6e0aaaf4c559 -> https://git.savannah.gnu.org/git/emms.git@c42fab572846
ideasman42/emacs-spell-fu@1abcb5594e -> ideasman42/emacs-spell-fu@10823ae58f
ideasman42/emacs-undo-fu@e0ad06b5ef -> ideasman42/emacs-undo-fu@34b27c01da
joostkremers/writeroom-mode@b648b34017 -> joostkremers/writeroom-mode@7f4ec92404
kidd/org-gcal.el@4c2616a4f8 -> kidd/org-gcal.el@80e6f9501f
magnars/expand-region.el@4b8322774d -> magnars/expand-region.el@95a773bd8f
millejoh/emacs-ipython-notebook@09af85821e -> millejoh/emacs-ipython-notebook@0600c286bd
mohkale/consult-eglot@a6aeb6fa07 -> mohkale/consult-eglot@28a09cc839
noctuid/link-hint.el@09ba5727d8 -> noctuid/link-hint.el@d3c5bacc9c
rolandwalker/nav-flash@55786c9582 -> rolandwalker/nav-flash@2e31f32085
skeeto/elfeed@243add9e74 -> skeeto/elfeed@162d7d545e
szermatt/emacs-bash-completion@65e54c6f9c -> szermatt/emacs-bash-completion@c5eaeed156
tarsius/hl-todo@5ac0076cfe -> tarsius/hl-todo@42f744ffb5
tecosaur/emacs-everywhere@64ba2e3f30 -> tecosaur/emacs-everywhere@da88fa2d04
tkf/emacs-request@f3a5b4352e -> tkf/emacs-request@2b68b3ca54
tmalsburg/helm-bibtex@a0d32ab167 -> tmalsburg/helm-bibtex@b85662081d
yoshiki/yaml-mode@3a57058468 -> yoshiki/yaml-mode@63b637f846
yqrashawn/fd-dired@c223aee30a -> yqrashawn/fd-dired@458464771b
2021-09-15 17:47:17 +02:00
Henrik Lissner
69f8f5b242 feat(default): narrow to multi-line region in +default/search-buffer
Since multi-line inputs are useless to consult-line and swiper, I've
changed +default/search-buffer to be more DWIM (do-what-I-mean). i.e. if
a selection is active when invoking it, and...

- The selection is multi-line: restrict the search to that region.
- The selection is *not* multi-line: use the selection as the initial
  input.
- Otherwise, search the whole buffer as normal.
2021-09-15 01:22:33 +02:00
Henrik Lissner
35f701a999 fix(default): search region literally in +default/search-buffer 2021-09-15 01:22:33 +02:00
Itai Y. Efrat
a612220369 refactor!(vertico): evil minibuffer keybindings
BREAKING CHANGE: remove +vertico/(next|previous)-candidate-preview.

BREAKING CHANGE: Move vertico-(next|previous)-group to C-M-j/k now that

C-S-j/k now default back to scrolling up and down pages.

Update docs to reflect these changes.
2021-09-15 01:41:37 +03: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
Henrik Lissner
6b5c34a1db fix(default): region handling in +default/search-buffer
+default/search-buffer now correctly uses the active selection when
invoking `consult-line` (on 'SPC s s' or 'SPC s b').

Close #5406

Co-authored-by: Sævar Berg <saevarb@users.noreply.github.com>
2021-09-14 19:33:26 +02:00
Henrik Lissner
277a376b43 fix(default): don't override S-RET/C-j in occur buffers
These keybinds were too wide-reaching. I can only consider them
reasonable defaults for evil users, not vanilla users.

Fix #3953
2021-08-16 17:16:30 -04:00
Henrik Lissner
3c66264656 fix(default): bind s-f to consult-line for macos users
Swiper is present if the ivy or helm backends are enabled, otherwise,
use consult-line.
2021-07-31 04:35:49 -04: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
3d0b609c1e
Merge pull request #5303 from daanturo/project-async-command-binding
Add "SPC p &" binding as projectile-run-async-shell-command-in-root
2021-07-28 21:28:08 -04: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
33b646826b fix(vertico): add counsel-file-jump analogue
Fix 'SPC f F' / 'C-c f F' for vertico users
2021-07-28 12:54:23 -04:00
Daanturo
5ed026e1c1 Add "SPC p &" binding
As projectile-run-async-shell-command-in-root
2021-07-27 22:05:32 +07:00
Henrik Lissner
dd9657d90d Fix SPC f F w/ vertico + consult
Not a perfect analogue to counsel-file-jump, but it's a start (and
better than the previous no-op).
2021-07-25 17:55:59 -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
770084fdda vertico: use consult-line in +default/search-buffer
While it only gives one candidate per line, it's more important to have
something that uses the completion UI
2021-07-25 02:52:04 +03: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
e65dffd790 selectrum: remove selectrum-minibuffer-map from...
`+default-minibuffer-maps`.

It's derived from `minibuffer-local-map` so this is unnecessary.
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
ebd72b715e selectrum: remove some bindings
- the embark actions use packages that aren't installed or don't work
- the selectrum minibuffer bindings use the super key, which will
  probably conflict with tiling window managers
2021-07-25 02:50:42 +03:00
Itai Y. Efrat
89fd6b66b3 selectrum: add preview to non-consult functions 2021-07-25 02:50:42 +03:00
Itai Y. Efrat
49a5c51615 selectrum: fix bugs when counsel is loaded (hack)
some doom functions check the completion module with `fboundp`'s instead
of `featurep!`, and counsel can be loaded by using e.g. `lispy`. we add
temporary fixes for this by checking for selectrum stuff first, but this
should be given a more robust fix later on

also we document the selectrum PR's hacks in the TODO.org

see discussion on #5013
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
4e74a221cc selectrum: rework consult previews
- add `C-M-j` and `C-M-k` as preview scrolling keys
- add `consult-theme` to functions that don't get previewed
  automatically (also it works now)
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
7ec7134947 selectrum: improve ivy parity
- add `:pg` bindings
- add `selectrum-minibuffer-map` to `+default-minibuffer-maps`
- add `consult-notmuch`
- add selectrum option for `mu4e-completing-read-function`
- document more parity failings
2021-07-25 02:49:41 +03:00
Itai Y. Efrat
b9e34835c7 selectrum: update bindings 2021-07-25 02:49:41 +03:00
Sebastian Sturm
0cdc7ec8e1 Add selectrum branch for SPC-* symbol search
other +default/search-... convenience methods already support
Selectrum explicitly, so perhaps there's a good reason not to
do the same for +default/search-project-for-symbol-at-point?
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
Edmund Miller
dfce5ddb17 feat(selectrum): Add +selectrum/search-symbol-at-point 2021-07-25 02:49:40 +03:00
Itai Y. Efrat
09845be083 feat(selectrum): Add Search buffer binding 2021-07-25 02:49:40 +03:00
Edmund Miller
5b70b888b8 feat(selectrum): Add selectrum-repeat binding 2021-07-25 02:49:40 +03:00
Edmund Miller
b741d6a3b9 fix(selectrum): Remove unnecessary advice overrides 2021-07-25 02:49:40 +03:00
Edmund Miller
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 2021-07-25 02:49:40 +03:00
Jethro Kuan
65c153796e Add selectrum project search 2021-07-25 02:49:40 +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
Itai Y. Efrat
34fae1c01c Remove remaining Emacs27+ checks
- Remove remaining `EMACS27+` checks, since the whole codebase is
  assumed to run at version 27 or above now
- Remove `EMACS27+` definition since it's no longer needed
2021-07-10 16:03:41 +03: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
Henrik Lissner
60b595321e Lazy-load yasnippet harder for faster first-file load time
+ Rather than waiting for the first "interactive" major mode to be
  visited to activate yas-minor-mode, we wait until the first time the
  user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
  first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
  hooks (fixes #5140).

Closes #5140
2021-06-05 13:12:00 -04:00
Henrik Lissner
79aa070b65
Merge pull request #5048 from iyefrat/unicode
unicode-chars-list-chars -> insert-char
2021-05-15 16:59:56 -04:00