Commit graph

393 commits

Author SHA1 Message Date
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
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
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
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
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
Daanturo
5ed026e1c1 Add "SPC p &" binding
As projectile-run-async-shell-command-in-root
2021-07-27 22:05:32 +07: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
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
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
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
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
b4e1b2130c refactor(selectrum): Move evil bindings where they belong 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
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
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
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
Henrik Lissner
1c0cfd459b Don't invoke company on TAB if company-mode isn't active 2021-05-11 21:50:14 -04:00
Henrik Lissner
193382e2e3 Fix TAB keybind fallthrough 2021-04-15 18:59:38 -04:00
Eric Dallo
53bd779cc9
ui/treemacs: add +lsp flag 2021-04-14 18:21:04 -03:00
Henrik Lissner
27e2848d3b Fall back to "TAB" if no [tab] keybind 2021-04-13 18:54:48 -04: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
Henrik Lissner
55cfe0cca4 Fix TAB fallthrough for evil keybinds
If TAB was bound on the current keymap, our TAB dispatcher would fall
back on it, but it wouldn't see TAB keybinds on evil auxiliary keymaps
on the current keymaps (e.g. in cfw:calendar-mode).
2021-03-06 00:10:55 -05:00
Henrik Lissner
1274de3d34 Minor reformatting & refactors across the board 2021-02-25 13:59:43 -05:00
Henrik Lissner
03fa2eafee Bind SPC o F to select-frame-by-name 2021-02-25 13:59:43 -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
Henrik Lissner
be9b3ff352 Bind SPC f Y to yank path relative to project
Also, both commands now announce "Copied path to clipboard: ..." to make
it clear it worked (and what is being copied).
2021-02-15 14:54:13 -05:00
Henrik Lissner
16a495c97d Fix #4548: global TAB overwritten by evil keybind 2021-02-06 06:54:18 -05: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