Commit Graph

6376 Commits

Author SHA1 Message Date
Aaron Zeng 056c7264ad
[spacemacs-bootstrap] Fix :pre-bindings evaluation in evilified-state-evilify-map (#15490) 2022-04-26 18:52:30 -04:00
Aaron Zeng dc85616df5
Add key binding for revert-buffer in process-menu-mode (#15403) 2022-04-22 21:50:23 -04:00
Riccardo Binetti abc028e24e
[zig] Fix setup backend hook (#15483) 2022-04-21 19:26:09 -04:00
Harold Cooper b3e67aafe2
fix typo (#15470) 2022-04-14 13:56:58 -04:00
bryce-carson 434e26486c
Remove disabled code and FIXME: resolved. (#15464) 2022-04-12 05:41:21 +00:00
Dan Kessler 9dd28c0316
disable evil-surround in magit-status buffers (#15462) 2022-04-11 13:28:02 -04:00
Dan Kessler d79b12e7b4
Replace alist helm sources with proper helm sources (#15364) 2022-04-04 14:51:01 -04:00
Xiaoxiang Cao 6774f37fc1 Fix #15306. Reflect eaf layer keybinding logic to upstream changes.
- Replace outdated eaf API call with most recent ones
- Tested with eaf-browser on my machine
- Both (kbd "SPC") and (kbd ",") works fine in eaf-browser
2022-04-03 20:20:41 +02:00
Maxi Wolff 587f584ebc
[lsp] Change default source of bindings back to spacemacs
as many bindings are not properly set from
the lsp package and the default setting should
just work out of the box.

See #15442 for details.
2022-04-02 22:04:17 +02:00
Ray Wang d3d50f580b [spacemacs-editing] initialize `undo-tree-history-directory-alist`
to stop *.~undo-tree~ files from scattering.

Fix: #15426
2022-04-02 18:04:01 +02:00
Maxi Wolff 97af6fa9f8
[neotree] Add zz, zt, zb bindings
To make this buffer behave more vim like.
See #15355
2022-03-31 16:55:29 +02:00
Mattijs Korpershoek 2202597ee3
notmuch: Fix company based address completion (#15392) 2022-03-31 03:45:01 -04:00
SpacemacsBot c2a9aaedff
[bot] "documentation_updates" Mon Mar 28 11:29:34 UTC 2022 (#15433) 2022-03-28 11:38:15 -04:00
John Practicalli cb786cc071 [github] clarify Git configuration and authorisation documentation
Resolve #15377
2022-03-28 13:28:10 +02:00
Maxi Wolff bf64c09535
[org] Make org buffers work with helm-imenu-in-all-buffers
Fixes #15420
2022-03-27 21:23:42 +02:00
Claudio Bley 18ad9759b2
[nixos] Fix variable name in README (#15413) 2022-03-17 11:34:53 -04:00
Dan Kessler 75c30eed0d
[helm] fix typo in helm-ls-git (#15411) 2022-03-16 15:59:54 -04:00
Alfonso Montero d66548fd04
[completion] Fix readme markup. (#15410) 2022-03-16 15:10:42 -04:00
SpacemacsBot e32acdfadf
[bot] "documentation_updates" Fri Mar 11 06:55:25 UTC 2022 (#15402) 2022-03-11 02:33:47 -05:00
John Practicalli d751c09fab
[git] document configuration of Magit Forge and Git identity (#15388)
Add documentatation to the Spacemacs Git layer describing how to configure basic git identity and more importantly how to configure Magit Forge to access GitHub / GitLab using a machine configuration and an encrypted file to hold the personal access token.
2022-03-11 06:54:23 +00:00
John Practicalli ed19c94a1e
[space-doc] use cl-return as return is obsolete (#15397) 2022-03-06 11:48:20 -05:00
Dominic Pearson a027f34a94
spacemacs-navigation: golden-ratio fix for SPC w TAB. (#15374)
`SPC w TAB` with golden-ratio doesn't work, due to missing hooks. This adds them.
2022-02-25 04:21:17 +00:00
SpacemacsBot 9f1155a998
[bot] "documentation_updates" Tue Feb 22 16:39:44 UTC 2022 (#15373) 2022-02-22 11:44:00 -05:00
Rodrigo Kassick 8587ab6df0
fix: do not setenv PAGER in shell layer (#15369) 2022-02-22 11:37:58 -05:00
Keith Pinson e9adfe9122
[scala] add keybinding for running `Test / compile` in SBT (#15372) 2022-02-22 11:37:17 -05:00
Lucius Hu 011b1454e1
quickurl: fix typo
fixes #15365
co-authored-by: Alex <aavanian@users.noreply.github.com>
2022-02-22 04:51:18 +00:00
Dan Kessler 3cc0f99800
[osx] don't set dired-listing-switches (#15371) 2022-02-21 21:45:57 -05:00
Lucius Hu 910245527d
spacemacs-evil: use official evil-iedit-state
Reuse the official package since the upstream PR is merged.
2022-02-20 01:54:36 +00:00
Andreas Sahlbach 3deed8f060
compleseus: corrects name of some renamed consul commands (#15352) 2022-02-16 18:45:42 +00:00
Lucius Hu b7e1dee13f
spacemacs-buffer: Added optional feature to show file icons (#15332)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-15 06:52:00 +00:00
Lucius Hu 0bdddfc165
tabs: fix a typo
co-authored-by: Yixuan Chen <yixuan.chen@yale.edu>
2022-02-14 14:01:17 -05:00
Lucius Hu 3429bcf056
fixed typos postframe to posframe 2022-02-14 11:05:18 -05:00
Daniel Nicolai 25674b7768
Fix tab key functionality in pdf outline mode (#15345) 2022-02-14 09:33:48 -05:00
Lucius Hu 30e32ea41f
fixup! [auto-completion] add company-posframe 2022-02-14 02:36:17 -05:00
August Feng ec8c87df27
spacemacs-purpose: Improved README.org (#15346) 2022-02-14 03:10:05 +00:00
Lucius Hu fe23d52414
fixup! fixup! help/helpful: Set tab-width to 8, better integration w/Ivy (#15243)
The previous commit had two issues:
- It doesn't have effect for `help-mode` because its was loaded too late. (In
the `:config` section of `help-fn+`.
- It only has effect for the code sections in `helpful-mode` buffer. And has no
effect in the buffer opened via button widget in either `help-mode` or
`helpful-mode`.

This commit fixes both problems.
2022-02-13 21:58:47 -05:00
SpacemacsBot 6fc9faee85
[bot] "documentation_updates" Sun Feb 13 20:45:13 UTC 2022 (#15343) 2022-02-13 15:46:34 -05:00
Luis Ch ea020911f8
Add basic LSP support to NixOS layer (#15342)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-13 20:44:16 +00:00
fleimgruber 179bb38ebc
fix: progn typo in org-transclusion :init (#15340) 2022-02-12 09:12:52 -05:00
thanhvg adf9da378b
[auto-completion] add company-posframe (#15320)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 06:01:59 +00:00
SpacemacsBot 4d0529d3e7
[bot] documentation_updates (#15339)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 05:36:08 +00:00
thanhvg 60e512a48b
[iedit] use fork (#15318)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:30:49 +00:00
thanhvg 023ba524f4
[tree-sitter] add option to seletively disable tree sitter hl mode (#15317)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:25:01 +00:00
SpacemacsBot 44fbaa3d10
[bot] documentation_updates (#15338)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 05:15:52 +00:00
thanhvg 9deb58d16a
[elisp] add elisp-def (#15315)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 05:14:57 +00:00
Lucius Hu 77ba076f69
spacemacs-editing-visual: rework (#15322) 2022-02-12 04:58:35 +00:00
SpacemacsBot a7d91f1b4f
[bot] documentation_updates (#15337)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 04:47:44 +00:00
Keith Pinson 34e14fb681
[org] add support for transclusion (#15333)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-12 04:45:45 +00:00
Lucius Hu ebd0603885
eww: cleaned up (#15321) 2022-02-12 04:10:23 +00:00
Lucius Hu e24e1e4b57
spacemacs-defaults: Prompt to save a buffer for certain operations (#15331) 2022-02-12 04:09:53 +00:00
Lucius Hu 8bfc1566ec
fixup! help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243) 2022-02-09 17:20:17 -05:00
KK 9e30cf9b39
Fix ⌘-s shortcut in macOS (#15329) 2022-02-09 12:31:44 -05:00
Lucius Hu 696b15652f
Revert "spacemacs-defaults: Added prompt to save a buffer (#15297)" (#15330)
This reverts commit d33a1a8fcc.
2022-02-09 12:29:46 -05:00
Lucius Hu d33a1a8fcc
spacemacs-defaults: Added prompt to save a buffer (#15297)
Added a new `kill-buffer-hook` that prompt the user to save a buffer
before killing it.
2022-02-09 03:33:21 -05:00
ismama 031f7e1666
Fix the use of consult--source-project-file (#15328) 2022-02-08 11:07:25 -05:00
ismama 22d168a054
Fix consult-buffer error (#15327) 2022-02-08 09:13:06 -05:00
Lucius Hu d366150139
exwm: replace desktop-environment by melpa one
closes https://github.com/syl20bnr/spacemacs/issues/15312
2022-02-06 04:20:29 +00:00
thanhvg 4a305a44af
[compleseus] clean up (#15314) 2022-02-05 13:31:20 -05:00
thanhvg fee90f8dd0
[compleseus][ivy] quote regex when search for region or symbol at point (#15313) 2022-02-05 13:30:30 -05:00
thanhvg ff2087e6a6
[layouts] fix counsel-projectile (#15311) 2022-02-04 16:52:05 -05:00
SpacemacsBot ce0becb723
[bot] documentation_updates (#15310)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-04 05:39:59 +00:00
Lucius Hu 824889c974
tabs: Rework (#15293)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:26 +00:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
SpacemacsBot 0ba8aa194a
[bot] "documentation_updates" Mon Jan 31 21:49:47 UTC 2022 (#15303) 2022-01-31 17:02:38 -05:00
Benedikt Broich a10d2fd845
Add journalctl-mode to systemd layer (#15288) 2022-01-31 16:48:47 -05:00
Lucius Hu d2b566406a
rust: respect `lsp-use-upstream-bindings`
This is needed after 1d45278a71
2022-01-31 04:14:59 +00:00
Lucius Hu ddf44ab93f
org: fix #15290 (#15291)
Co-authored-by: xin <etimecowboy@gmail.com>
2022-01-29 01:34:24 +00:00
Dan Kessler 44ed2f84a1
org: add binding for org-paste-subtree (#15289) 2022-01-27 03:58:53 +00:00
Keith Pinson 4bc45f70a1
[org] integrate org-appear with evil when triggering manually (#15284) 2022-01-25 10:06:11 -05:00
Lucius Hu 6ccbbcc7d9
gnux: fix which-key prefix bug
The third argument to `spacemacs/declare-prefix` is never used.
It was ignored before but currently causes issues.
2022-01-17 21:28:13 +00:00
Lucius Hu ca93e28a9c
keyboard-layout: Fixes #15249 (#15251)
Co-authored-by: Nils Wloka <mail@nilswloka.com>
2022-01-15 02:33:06 +00:00
Lucius Hu 719b64377f
fix evil-lisp-state prefixes & improve related functions (#15258)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-01-15 02:32:18 +00:00
SpacemacsBot 19bde126a5
[bot] documentation_updates (#15271)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-01-15 02:29:19 +00:00
John Practicalli 84033e168d [clojure] add kaocha-runner as optional package
Add kaocha-runner.el to the Clojure layer to enable running the kaocha test
runner from Emacs Cider

Kaocha runner added to the layer via the clojure-enable-kaocha-runner variable

Add key bindings to call Kaocha runner
2022-01-14 18:03:53 +01:00
Lucius Hu 1541eed6bd fix messed up keybindings in helm-ag-map 2022-01-12 13:14:44 +01:00
Lucius Hu 7cb37ee58e markdown: Remove orgtbl
Entirely removed orgtbl from markdown layer since it causes problems.
Users may still manually enable it if they know what they are doing.
2022-01-12 13:14:05 +01:00
Lucius Hu 8226efa633
help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243)
Co-authored-by: Tommi Komulainen <tkomulai+github@gmail.com>
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-01-11 04:15:47 +00:00
Julio Rincon 94a6811682
Fix #15198 predicate to check if major-mode is compilation-mode or derived. (#15253) 2022-01-08 08:01:46 -05:00
SpacemacsBot f85b561085
[bot] "documentation_updates" Sat Jan 8 12:02:19 UTC 2022 (#15254) 2022-01-08 08:00:06 -05:00
Maxi Wolff e9648b809a
[tree-sitter] Rename variables to match conventions 2022-01-08 12:59:33 +01:00
Lucius Hu 8856bc4316
themes-megapack: Update obsolete package
modus-operandi-theme and modus-vivendi-theme are now available in mods-themes
2022-01-08 05:25:56 +00:00
Daniel Nicolai 2f061d26ae
Fix keybindings in ivy-occur-grep-mode
Closes #15219
2022-01-08 03:56:30 +00:00
Daniel Nicolai bbd40f113f
Add C-o and C-i keybindings to evil-evilified-state-map (and remove from pdf-view-mode-map)
C-o and C-i are standard vim keybindings to jump back/forward between previous
locations. It is annoying and unnecessary that evilified buffers break that
flow, therefore these keybindings should be added to the
`evil-evilified-state-map` so that they are available automatically in all
evilified keymaps/modes. I assume that by just adding them to the map, all
required remappings will automatically be taken car of by the
`evilified-state-evilify-map` macro (anyway, it seems to work fine).
2022-01-08 03:54:30 +00:00
Lucius Hu d63e172bde
Revert "[org-roam] Fix evil org-roam-node-insert spacing" (#15244) 2022-01-06 03:40:22 +00:00
Maxi Wolff faaf87a375
[semantic-web] Fix missing package, ttl-mode 2022-01-03 22:40:10 +01:00
SpacemacsBot 4d59149eb5 [bot] "documentation_updates" Sun Jan 2 06:54:20 UTC 2022 2022-01-02 07:56:12 +01:00
Elliott Shugerman e2f6aa9480
Add basic tree-sitter layer (#15185)
* add basic tree-sitter layer

* defer loading tree-sitter-indent now that patch is merged

* fix note block in readme

* improve variable name
2022-01-02 07:53:20 +01:00
Thanh Vuong 1d45278a71 [lsp] add consult-lsp and set lsp-use-upstream-bindings to t
lsp-use-upstream-bindings is t so by default spacemacs will use lsp-mode binding
scheme. We should consider to phase our the current manual binding scheme for
lsp-mode in future
2022-01-01 15:57:32 +01:00
shdennlin 8cbcc9f085 Fix #14162, python-execute-file not using in virtual environment 2022-01-01 15:55:17 +01:00
Tim Ruffing 1bd5428360 git-gutter: Remove custom fringe bitmaps
The config for git-gutter currently sets custom fringe bitmaps which
are optimized for half-width fringes.

I think that's an arbitrary choice. There's no spacemacs option which
enables half-width fringes and as far as I can tell, we don't optimize
for half-width fringes anywhere else. So we should optimize the
package defaults for the spacemacs default of full-size fringes.

If users set half-width fringes manually, they can customize the
bitmaps manually. Even if they don't, the bitmaps are still visible,
they just don't look as nice.
2022-01-01 14:41:33 +01:00
emiltoacs c017aa9617 [lsp-latex] Fix warning void variable TeX-view-program-selection
Remove the call to =spacemacs//latex-setup-pdf-tools= in latex/init-lsp-latex
since it is already called in the init-auctex which is the main package
2022-01-01 14:38:35 +01:00
emiltoacs 088493ab0e
[languagetool] fix for non standard language code (#15216)
* [languagetool] fix for non standard language code

In the language tool layer, the `languagetool-get-language` function is used to
deduce the correct language code for languagetool from the variable
`ispell-local-dictionary`, `ispell-dictionary`, or from the list
`ispell-dicts-name2locale-equivs-alist` by replacing dash by underscore. However
many lanagetool codes are not formatted consistently with what can be found in
ispell, check `languagetool --list <file>` for the exact list.

Therefore I created this list of convertion between ispell codes and lanagetool
codes.

* [languagetool] Reorder language code by usage

* [languagetool] translate non-obvious language code

special-case handle the translation when a simple conversion from underscore to
dash does not work

Co-authored-by: emiltoacs <mil@evo.nomail>
2022-01-01 14:36:12 +01:00
Lucius Hu d7f9eb6342 Update minimum supported emacs version to 27.1 2022-01-01 14:32:46 +01:00
Thanh Vuong eb3ebe2c6e [compleseus] integration with which-key
https://github.com/oantolin/embark/wiki/Additional-Configuration#use-which-key-like-a-key-menu-prompt

embark-act `M-o` menu will be handled by which-key
2022-01-01 14:28:52 +01:00
Daniel Nicolai 8034e471b5 Fix mouse click behavior in customize buffers (issue #15211) 2021-12-30 18:38:12 +01:00
Thanh Vuong 902d210361 [auto-completion][julia] Revert #15171, Proper fix for #15169
This reverts commit f2755533de.

This adds fix for julia layer breaking yasnippet setup.

Commit f2755533de fixed a specific bug in julia
layer but it loads yasnippet and friends on start up which adds 1 sec to my
startup time even though I don't use julia.

Julia layer loads lsp-julia early on startup, which loads lsp who then loads
yasnippet behind the scene unknown to spacemacs and use-package. That's why our
nice and ordered setup for yasnippet and yasnippet-snippets failed as discussed
in https://github.com/syl20bnr/spacemacs/pull/15171. We now tell use-package to
defer its load.
2021-12-30 18:35:37 +01:00
Chris Jenkins 387d165455
Replace use of `parent-mode-list` in `spacemacs-visual/funcs.el` (#15209) 2021-12-14 18:14:36 -05:00
Julio Rincon 651a7a9f11 Fix #15198: Apply ansi-colors to compilation-mode derived modes 2021-12-11 08:32:48 +01:00
Daniel Nicolai 3883d1b195 Add pdf occur follow mode spacemacs binding
Follow mode in the pdf-occur buffer is very handy, and deserves specific
Spacemacs keybinding (mainly for discoverability/documentation, as its name
`next-error-follow-minor-mode`, putting it mildly, is not very intuitive)
2021-12-07 17:37:38 +01:00
Rodrigo Kassick d3071ae37b Improve temporary fix for evil-redirect-digit-argument
The fix introduced in 23367d08f8 NOPs
evil-redirect-digit-argument. As a result, pressing 0 while in iedit movement
state does not jump to the beginning of the match or beginning of line.

This change redefines the functions currently needed by evil-iedit-state while
keeping the expected functionality
2021-12-07 17:35:53 +01:00
SpacemacsBot a86cdd3506
[bot] "documentation_updates" Sat Dec 4 16:11:00 UTC 2021 (#15196) 2021-12-04 16:28:49 +00:00
Daniel Nicolai ab19ea1de5
Coq layer README add optional requirement (auto-completion layer) (#15195) 2021-12-04 16:09:43 +00:00
SpacemacsBot 17b5646e77
[bot] "documentation_updates" Tue Nov 30 19:20:17 UTC 2021 (#15191) 2021-11-30 14:24:27 -05:00
Daniel Nicolai c34cb72343
Add documentation for most important org shortcuts (#15190) 2021-11-30 14:18:53 -05:00
Kijima Daigo 33e7f62693
Fix small typos (#15188) 2021-11-29 17:29:36 -05:00
Maxi Wolff bdd77bfed6
[version-control] Do not activate git-gutter-mode in pdf-view-mode 2021-11-29 22:48:21 +01:00
Daniel Nicolai 23367d08f8 Add temporary fix for `evil-redirect-digit-argument` error
iedit does not work already for quite some time. A fix (see
https://github.com/syl20bnr/evil-iedit-state/pull/37) has been proposed, but it
does not get merged (even after multiple reminders). Therefore, I propose to add
this temporary quick fix, that can/should be removed after that PR gets merged.
2021-11-28 09:22:19 +01:00
Maxi Wolff 050221ee35
[gnus] Fix wrong evilified macro
Seems that we have a lot of places where
evilified-state-evilify has been used
instead of evilified-state-evilify-map.

This causes issues with shadowing of
evilified maps as this is only done by
the later of those two.

Fixes #15150
2021-11-20 22:54:55 +01:00
Daniel Nicolai f2755533de Fix #15169, snippets not loading correctly
The auto-completion layer seems not to have been designed/configured correctly.
So that, e.g., when using the julia layer, the `auto-completion/init-yasnippet`
function is called after the `yasnippet-snippets` package has been loaded.
Despite the ``yasnippet-snippets` package containing an `eval-after-load
'yasnippet`, the form within that block is, for some reason, evaluated already
before `auto-completion/init-yasnippet` has been called.

Anyway, what currently happens is that first `(yasnippet-snippets-initialize)`
is evaluated, adding `yasnippet-snippets-dir` to the `yas-snippet-dirs` list.
Then ``auto-completion/init-yasnippet` is called which contains the line `(setq
yas-snippet-dirs nil)`, setting the list to nil again.

As there is quite some logic involved (e.g. the order of evaluation is correct
when the julia layer is not being used), this commit fixes the reported issue by
simply calling `(yasnippet-snippets-initialize)` from
`auto-completion/init-yasnippet` after the yas-snippet-dirs list has been
resetted to nil.

Any cleaner solution is welcome, but I would say this is a 'harmless' very
pragmatic quick fix/solution.
2021-11-20 20:38:36 +01:00
deb0ch b108f8b319 Add binding for markdown-table-align 2021-11-20 20:35:42 +01:00
Hans dee70b8486
Fix forge evil keybinds (#15167)
* [git] Fix: Evil-collection @-dispatch keybindings for magit forge.

Load new location for forge '@' dispatch keybindings.

'Evil-collection' has moved keymaps for magit forge from an
'with-eval-after-load' block to newfile 'evil-collection-forge.el' in commit
33461aa545.

As mentioned in the commit, these changes were due to a upstream change in the
'forge' package. Source: https://github.com/emacs-evil/evil-collection/issues/543

* [git] Docs: update README to reflect changes in Forge keybinds.

See https://magit.vc/manual/forge.html#Introduction for more information.
2021-11-19 17:52:11 +01:00
SpacemacsBot f06fb38a8f [bot] "documentation_updates" Thu Nov 18 05:35:20 UTC 2021 2021-11-18 22:00:53 +01:00
Wieland Hoffmann f61a7cd453
Add a keybinding for lsp-treemacs-type-hierarchy (#15163)
* lsp: Bind =~SPC m g T~ to lsp-treemacs-type-hierarchy
This allows to show the type hierarchy for the type at point.

* lsp: Goto call and type hierarchy are provided by lsp-treemacs
2021-11-18 06:33:38 +01:00
tvuong 1c48cc5a5a [ivy] add mark unmark bindings 2021-11-18 06:32:15 +01:00
thanhvg dafae5f136
[compleseus] improve (#15165)
* [compleseus] layout select current project first

* [compleseus] bind embark-export to C-c C-o

same as ivy-occur

* [compleseus] add vertico-{quick, directory}

* [compleseus] set up vertico-repeat
2021-11-18 06:30:26 +01:00
Keith Pinson 415f367589 [scala] Shortcut keys for common/standard SBT commands
It's nice to have a way to use common SBT commands without having to enter a
Hydra, and without having to type them out or select from a history list. The
following should be standard and quite common:

+ `scalafmtAll`
+ `compile`
+ `test`

Added mnemonic keybindings that I think match Spacemacs conventions. They
behaviors also give better parity with the build capabilities of other major
modes, which frequently support compile, format and test functionality.
2021-11-17 06:46:10 +01:00
SpacemacsBot 47fdbced8b [bot] "documentation_updates" Sun Nov 14 17:38:06 UTC 2021 2021-11-14 19:40:22 +02:00
David Perez-Suarez 0f7c2e3cab Adds example on how to set an alert style for org notifications
It also changes a "here" hyperlink to a more descriptive one in the same
paragraph.
2021-11-14 17:42:15 +01:00
Daniel Nicolai 51611b6e30
Fix autocompletion in elisp and text mode
Currently most or all auto-completion, using completion-at-point (i.e. the TAB
key), is 'hijacked' by company-capf in emacs-lisp-mode, while in text mode there
is no auto-completion by default at all.

This commit adds auto-completion for text-mode and slightly improves the
situation for emacs-lisp mode.
2021-11-13 10:26:45 +01:00
SpacemacsBot 759e761099 [bot] "documentation_updates" Sat Nov 13 09:20:02 UTC 2021 2021-11-13 10:24:57 +01:00
Maxi Wolff f5541e876a
[svelte] Revise layer
Fix minor issues in comments and refactor code
a bit. Also make lsp layer autoload if
required.
2021-11-13 10:16:29 +01:00
Marco Süß 3185902f78
Add Svelte layer 2021-11-13 09:30:46 +01:00
Maxi Wolff 707124fd3a
[compleseus] Fix orderless integration 2021-11-13 09:04:54 +01:00
Thanh Vuong 76841d87fc [compleseus] tuned completion-style and added support for M-: 2021-11-12 07:47:39 +01:00
Daniel Nicolai 548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
JAremko 500335a2c2 fix links 2021-11-04 20:36:23 +02:00
SpacemacsBot e6bd5cc4ac [bot] "documentation_updates" Tue Nov 2 22:01:23 UTC 2021 2021-11-02 23:04:42 +01:00
Maxi Wolff 1c0d7be28b
[python] Fix broken link 2021-11-02 23:00:02 +01:00
Maxi Wolff 0dd38667df
[compleseus] Fetch consult-yasnippet from melpa 2021-11-02 22:57:53 +01:00
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* Add commands to compleseus+fasd layer (locate,yasnippet,search-from)

* Add metadata classifier (for embark) to fasd-layer

Embark uses metadata of the target under point to determine actions. If the
target lacks a metadata classifier then the [embark
documentation](https://github.com/oantolin/embark#acting-on-targets) recommends
to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers).

This PR adds the file classifier to results for fasd searches.
2021-11-02 22:50:32 +01:00
Maxi Wolff 7ac303922e
[compleseus] Fix some small typos 2021-11-02 22:40:48 +01:00
Robert O'Connor 89d3482503 Add to the docs for compleseus about selecting a completion engine 2021-11-02 22:27:17 +01:00
Daniel Nicolai 22bfc8197d Add zonokai themes to themes-megapack layer
The documentation of the `themes-megapack` layer states that the layer provides
all themes included in the [theme gallery](https://themegallery.robdor.com/) by
Rob Merrell. However, this theme currently is missing from the layer.
2021-11-02 22:25:35 +01:00
Lucius Hu 7d39d7363b python: Update README.org
It turns out that we've already migrated to pylsp from pyls a while ago, except that README.org is not updated.
closes https://github.com/syl20bnr/spacemacs/issues/15036
2021-11-02 22:23:24 +01:00
Robert O'Connor 16ae20bcfe Update go layer docs since go get is deprecated
See https://golang.org/doc/go-get-install-deprecation
2021-11-02 22:22:09 +01:00
Maxi Wolff b926293c33
[doc] Improve wording
following suggestions from #15119
2021-11-02 22:19:59 +01:00
Benjamin Hipple 2dc6208174 [doc] Fix spelling mistake 2021-11-02 22:17:51 +01:00
Daniel Nicolai b1fe17d370 Open special-mode buffer in motion-state (not evilified)
Special mode and its derived mode(s) buffers were made evilified in PRs #14995
and #15050. However, special-mode is too aggressive (as 'warned' for already in
 #14995); it makes it hard to overwrite its keybindings (e.g. `evil-local-set-key`,
or using `evil-evilified-state-map` on a derived map have no effect).

Therefore it makes more sense to open the buffers in motion-state instead. This
state also does not hijack the `q` keybindings as defined by special-mode (see
https://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Major-Modes.html),
although it does still hijack its `g` keybinding, but evil navigation is
considered to have higher priority than revert-buffer anyway.
2021-11-02 22:15:13 +01:00
Rodrigo Virote Kassick 889f33216e helm-find-files-history requires prefix argument
Calling spacemacs/helm-find-files with prefix would cause an error
instead of popping helm-find-files-history before helm-find-files
2021-11-02 22:05:12 +01:00
Ag Ibragimov 92979e7934
fasd layer: fasd & open in a layout (#15126)
* fasd layer: fasd & open in a layout

* rewrite without using dash.el

* adds buffer-live-p check
2021-11-02 21:55:04 +01:00
Evan Klitzke 66e509f345 Remove helm-gitignore from git layer.
Related to #15117, this removes the helm-gitignore from the git layer because it
hasn't been updated to use the new git-modes package. The helm-gitignore
functionality isn't particularly useful anyway, it's just a utility to help
generate .gitignore files.

This change can be reverted if the upstream helm-gitignore package is fixed and
people find the functionality it provides to be useful.
2021-11-02 21:45:23 +01:00
Lucius Hu f4f8ad8fd7 git: migrate git{attributes,config,ignore}-mode to git-modes 2021-11-02 21:40:54 +01:00
SpacemacsBot 6cc5f4ec07 [bot] "documentation_updates" Tue Nov 2 20:29:57 UTC 2021 2021-11-02 21:33:48 +01:00
Julien Debon c93b6726bc LaTeX: Fix broken key binding 2021-11-02 21:28:55 +01:00
Robert O'Connor ae056660b2 Remove gist.el since it's unmaintained.
Comments out the elisp code but removes the README docs.

Closes #15093
2021-11-02 21:25:39 +01:00
Eugene Yaremenko 4f7246da07
use fetcher url for vertico-repeat package
vertico extensions aren't available yet
See https://github.com/minad/vertico/issues/83
2021-10-24 17:08:14 +03:00
Eugene Yaremenko 337c1108b9
require org-indent for space-doc
Under some conditions `org-indent-mode` was undefined.
2021-10-24 16:43:28 +03:00
Benjamin Hipple 6e512b80e1 [compleseus] Cleanup fetcher now that vertico-repeat is on elpa
elpa has the latest release tag, which includes vertico-repeat, so we can clean
this override up.
https://elpa.gnu.org/packages/vertico.html
https://github.com/minad/vertico/tree/0.14
2021-10-24 15:16:16 +03:00
Hans 256a4c0384
Update Bibtex Layer README (#15115) 2021-10-22 19:07:21 +00:00
JAremko f320524a55 Fetch info+ from GitHub
It seems that wiki doesn't work well with CI.
2021-10-21 17:00:07 +03:00
SpacemacsBot 5c88c3b089
[bot] documentation_updates (#15071)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-10-15 02:24:54 +00:00
Julien Debon 5b3bb908a1
LaTeX: Remove duplicate latex-refresh-preview (#15091) 2021-10-15 02:18:37 +00:00
Eugene Yaremenko 63056ecb50
[doc] use org-mode example block for example 2021-09-29 23:43:14 +03:00
Maxi Wolff 44078aaebc
[ivy] Fix new src block in docs 2021-09-29 22:26:12 +02:00
Thanh Vuong 03ab15ed36
[ivy] counsel search commands use spacemacs--ivy-file-actions
spacemacs/counsel-search counsel-rg counsel-ag and counsel-find-file now share a
comon set of actions defined in `spacemacs--ivy-file-actions`
2021-09-29 22:20:34 +02:00
Lin Sun 151ca61df5
[version-control] Switch default version control diff tool to git-gutter
Switch default version control diff tool to git-gutter for original default
git-gutter+ has bugs and no maintain for years.
2021-09-29 21:30:13 +02:00
Maxi Wolff d7a0492ac7
[python] Remove comments and fix new commands 2021-09-29 21:28:50 +02:00
Daniel Nicolai 071b48ba32 Add pydoc to python layer for better python doc functionality
Currently the python layer (without anaconda backend) provides only helm-pydoc
or pylookup-lookup-at-point functionality. Both these functions are cumbersome.
`pydoc-at-point-no-jedi` adds simpler doc functionality, therefore this commit
adds this command as a third option. It places it under `SPC m h p` because `SPC
m h h` is already taken by the anaconda doc functionality (it could be placed on
`h h` if anaconda is not available, but I did not bother to implement it)
2021-09-29 21:18:00 +02:00
Maxi Wolff d5cee22116
[python] Make ipython version detection more robust
The version string may return an empty string in that
case we treat this like a legacy version.
2021-09-29 21:08:51 +02:00
Maxi Wolff f5bd49cc8e
Revise some smaller layers 2021-09-21 22:07:38 +02:00
SpacemacsBot 845cdcaba8 [bot] "documentation_updates" Fri Sep 17 19:24:14 UTC 2021 2021-09-17 22:40:15 +02:00
Daniel Nicolai 9803b60d64 Fix (activate) company-emoji completion
Currently company-emoji does not get activated by the emoji layer.
Also when it is activated, then the emoji short-name does not get completed to
unicode if `company-emoji-insert-unicode` is `t`.

This commit fixes both issues, by activating company-emoji for text-modes and
advising the emoji inert function to optionally do company-emoji completion.
2021-09-17 21:22:56 +02:00
SpacemacsBot b4db141531 [bot] "documentation_updates" Fri Sep 17 18:59:01 UTC 2021 2021-09-17 21:17:02 +02:00
Daniel Nicolai 2de0a10ae0
Add documentation about evilifying 'special-mode buffers' (+fix eww) 2021-09-17 21:15:10 +02:00
Daniel Nicolai c8c20becf6
Fix and update PR #14992: update eaf layer 2021-09-17 20:55:14 +02:00
Lucius Hu 08fa117afa
Update keybinding
fixes https://github.com/syl20bnr/spacemacs/pull/14754#issuecomment-920914465
2021-09-16 22:08:26 +00:00
Daniel Nicolai cabe650f00
Extend spacemacs/copy-file command with extra actions (#14754) 2021-09-15 18:58:14 +00:00
Daniel Nicolai 6a5b229256
Add simple workaround to ebib kill buffer issue (#15048)
See joostkremers/ebib#213By remapping spacemacs/kill-buffer to ebib-quit ebib is generally exited 'correctly' (if users really want to kill the buffer and mess up things, they can still do that in plenty of other ways).
2021-09-15 18:56:38 +00:00
SpacemacsBot 663cfc5ba7 [bot] "documentation_updates" Sat Sep 11 22:58:39 UTC 2021 2021-09-12 02:11:16 +03:00
Eugene Yaremenko 7f00715b14
[docs] fix link 2021-09-12 01:57:22 +03:00
Maxi Wolff 471b6939c8
[twitch] Revise layer
This includes fixing the documentation as well as
making the connection to erc and streamlink layer
non-optional.
2021-09-11 23:16:14 +02:00
Benedikt Broich 06cfd27276
Add twitch layer
Update CHANGELOG.develop

Update requires helm

Update layers/+web-services/twitch/packages.el
2021-09-11 22:54:47 +02:00
Maxi Wolff d9fde24ae1
[streamlink] Revise layer 2021-09-11 22:51:48 +02:00
Benedikt Broich 069fa87583
Add streamlink layer
Update CHANGELOG.develop

Update package location

Update package location. Package is now in melpa.

Update layers/+web-services/streamlink/packages.el
2021-09-11 22:42:47 +02:00
Maxi Wolff 39da3fc4a0
[hackernews] Revise layer 2021-09-11 22:34:13 +02:00
Benedikt Broich 17b59348f7
Add hackernews layer
Update layers/+web-services/hackernews/packages.el
2021-09-11 22:26:03 +02:00
Maxi Wolff 16f976c713
[lobsters] Revise package.el
Remove code comment and remove unnecessary
progn for single line :init function.
2021-09-11 22:19:34 +02:00
Benedikt Broich 0cc5a554af
Add lobsters layer
Update layers/+web-services/lobsters/packages.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-09-11 22:13:37 +02:00
Maxi Wolff 7f43d9cf6d
[djvu] Fix docs and prefixes
also removed layer dependency on evil
2021-09-11 22:02:54 +02:00
Daniel Nicolai 5ce60dfdf7
Add djvu layer
Update layers/+readers/djvu/packages.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>

Update layers/+readers/djvu/config.el
2021-09-11 21:28:34 +02:00
Maxi Wolff 3c7956ced7
[html] Make leex support optional 2021-09-10 23:20:27 +02:00
Maxi Wolff 42868141da
[lsp] Fix void variable error during startup 2021-09-10 22:23:09 +02:00
Alex Wilson b5d3cf9678
Add .leex support for the html layer 2021-09-10 22:15:46 +02:00
Maxi Wolff e67caf8486
[lsp] Revise lsp layer's create temp files in cache folder feature
to avoid having to add a lot of additional ignore
statements to our .gitignore file.

For now this shall reside in LSP layer if it becomes too big
we can do a more refined design based on the auto-complete
layer.
2021-09-10 22:13:14 +02:00
Ray acea332435
Move known temporary files of LSP into `spacemacs-cache-directory`.
By enabling all layers referring to lsp and searching packages they depend
on, currently I found these variables:
`lsp-server-install-dir`
`lsp-session-file`
`lsp-eslint-library-choices-file`
`lsp-yaml-schema-store-local-db`
`lsp-vetur-global-snippets-dir`
2021-09-10 22:13:13 +02:00
SpacemacsBot b5aea5610e
[bot] documentation_updates (#15042)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-09-10 20:10:16 +00:00
Maxi Wolff e5a180e78d
[vc] Make smerge ts use emacs version specific functions
this affects smerge-next vs smerge-vc-next-conflict, which
is only available from emacs 27 on, which will check for
conflicts in all open buffers.
2021-09-10 21:38:29 +02:00
Michael Peyton Jones f928c32eec
vc: use smerge-vc-next-conflict instead of smerge-next 2021-09-10 21:17:17 +02:00
Maxi Wolff 2fc428d527
[elisp] Fix small typo in README 2021-09-10 20:57:03 +02:00
Daniel Nicolai 6b9ec10c74
Implement inspector package to emacs-lisp layer see #15039 2021-09-10 20:50:41 +02:00
SpacemacsBot a3b40d2318
[bot] "documentation_updates" Sun Sep 5 06:17:34 UTC 2021 (#15035) 2021-09-05 02:49:47 -04:00
Evan Klitzke 4ebd512d14
c-c++: Package cpp-auto-include can be fetched from Melpa (#15037) 2021-09-05 06:16:30 +00:00
Maxi Wolff aebb522922
[reddit] Fix small typos in docs and add dependency to org layer 2021-09-04 21:51:59 +02:00
Benedikt Broich f73d6ea9c7
Add reddit layer
This layer adds Reddit support to Spacemacs via the package
reddigg. This package allows you to browse reddit in org-mode. You can find more
information in the README.org.

Fix use-package reddigg

Change name to for reddit

Change name according to https://www.reddit.com/wiki/api
2021-09-04 21:51:58 +02:00
Eugene Yaremenko 848ae48373
Fix another link 2021-09-04 22:49:40 +03:00
Eugene Yaremenko ec19d6ac98
Fix link 2021-09-04 22:44:32 +03:00
Maxi Wolff b66e60cabb
[latex] Provide more robust version of latex-setup-pdf-tools 2021-09-04 21:35:49 +02:00
Daniel Nicolai 073fe39b38
latex layer add auto configure pdf-tools and open in split window
This commit makes the latex layer automatically configure pdf-tools as
latex pdf-viewer if the pdf layer is installed.

Additionally it adds a layer variable to configure pdf-tools to open in a
split-window. (Strangely, finding out how to achieve that is far from trivial,
and also not easy to google, because many hits do not provide the "correct"
answer (see the typical example
[here](https://emacs.stackexchange.com/questions/28056/spacemacs-latex-how-to-make-view-command-tile-vertically-with-emacs-window)).

Update layers/+lang/latex/funcs.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-09-04 21:14:45 +02:00
Ryan Prior 4e306e1064
Make golden-ratio global mode and ediff mode coexist harmoniously (#15031)
* [layout] New function spacemacs//ediff-in-comparison-buffer-p

This function is useful to determine whether a given buffer is part of an ediff comparison.

* [layout] New function spacemacs/ediff-balance-windows

Interactive function to balance ediff windows in case they're unbalanced
initially (such as when golden-ratio-mode was active.)

* [navigation] Disables golden-ratio resizing in ediff view

Updates `spacemacs-navigation/init-golden-ratio`:
- inhibits golden-ratio in ediff comparison buffers
- balances the width of ediff comparison buffers on startup

* Updates CHANGELOG.develop with ediff/golden-ratio comment

* [layout] Adds MIT license acknowledgement for new functions

Co-authored-by: Ryan Prior <ryan.prior@coldquanta.com>
2021-09-04 21:02:42 +02:00
Cormac Cannon 0ad0e7d328 c-c++ layer : Added doxygen support and keybindings via gendoxy
<<Amendment 1>> Corrected two  whitespace issues as per lebensterben's
comments.
2021-09-04 20:51:44 +02:00
Lucius Hu 696cfd47c1 Revert "Fix evil search prompt on mouse leave (#15002)"
This reverts commit d9c3dc678c.
2021-09-04 15:09:55 +02:00
Zheng Qu 3bf2b481a8
[c-c++]: Fix keybinding for organizing includes (#15029) 2021-09-02 05:36:32 -04:00
akkuankka ed12b1118f
ocaml: Allow new OPAM command-line syntax (#15011)
As of new OPAM (OCaml package manager) v2.1, `opam config var share` is
no longer supported. Instead, the syntax is `opam var share`. To allow
both, this checks first with the new syntax, then if that doesn't work,
the old is tried. If neither produce any output, it fails as normal.

edit: Fix formatting.
2021-09-01 19:02:37 +00:00
Michael Peyton Jones 797360a419
lsp: add call hierarchy binding (#15021) 2021-08-31 21:02:05 +00:00
SpacemacsBot 59852a6ab5 [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
Lucius Hu abb088474a clojure: small change 2021-08-25 22:48:58 +02:00
Rainer Gemulla b1d287081f Fix typo that prevents ivy-rich from being enabled 2021-08-25 22:48:05 +02:00
Lucius Hu a9ba3b8fe0 git: restore layout when exiting magit buffer
closes https://github.com/syl20bnr/spacemacs/issues/14951

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-25 22:45:06 +02:00
Maxi Wolff f78c9bed18
[docs] Fix broken link in ivy README 2021-08-25 22:34:54 +02:00
Daniel Nicolai 80386e8414
Add (optional) ebib support to bibtex layer (#14876) 2021-08-25 19:31:18 +00:00
Aaron Zeng 671431f65c
[shell-scripts] Add key binding for shfmt-buffer (#15017) 2021-08-24 22:17:24 -04:00
Lucius Hu 198cc3a86f
Delete China.png
Chinese.png is sufficient
Deleting China.png to make in independent of a country and more inclusive to all users.
2021-08-24 01:28:53 +00:00
Lucius Hu fe147e391d
chinese: add notes on elpa mirrors
Co-authored-by: wztdream <39213018+wztdream@users.noreply.github.com>
2021-08-24 01:27:54 +00:00
Daniel Nicolai d02fae3c7a
Evilify and add cider-repl-history-mode keybindings (#14842)
Cider provides the possibility to search the REPL history, for which it opens
the history in a read-only buffer (which as usual, is best initialized in
evilified state).

This commit evilifies the cider-repl-history-mode buffer and defines some common
sense cider-repl-history-mode keybindings.
2021-08-24 01:20:26 +00:00
Lucius Hu b1c9ddc452
nim: fix broken indentation
Closes https://github.com/syl20bnr/spacemacs/issues/13470

Co-authored-by: duianto <notnaiud@gmail.com>
2021-08-23 23:55:00 +00:00
Benjamin Hipple 1441dcc0f1
[org-roam] Fix evil org-roam-node-insert spacing (#15008)
When we're adding links, without this they get smooshed together under the
curser. Tested to work; resolves https://github.com/syl20bnr/spacemacs/issues/14137

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-23 22:10:32 +00:00
Daniel Nicolai f92af9989a Add option to enable all-the-icons-ivy-rich to ivy layer 2021-08-22 22:31:05 +02:00
duianto 05f5113b70 Use built-in get-buffer 2021-08-22 22:26:37 +02:00
Thanh Vuong bb8dd09d3f [java] improve binding for lsp-java 2021-08-22 22:22:15 +02:00
Daniel Nicolai 5a9b813c9e Add jump to specific manual keybinding (SPC h j)
This keybinding could also go under `SPC h M`, but that is currently taken by
`helm-switch-major-mode` (which seems a quite redundant command to me, as you
can switch major-modes directly using `M-x`/`SPC SPC`).
2021-08-22 21:59:34 +02:00
Cédric M. Campos 31222468e6 [latex] Doc. TeX engine. Corrects typos, adds on TeX-command-master. 2021-08-22 21:12:15 +02:00
Benjamin Hipple 195a228927 [org-roam] Add "r" key to refresh org-roam links list buffer
This matches the org-agenda key, and is doubly important since we need to
refresh regularly to workaround the page-break-lines bug, as described here
https://github.com/syl20bnr/spacemacs/issues/14969#issuecomment-894624932
2021-08-22 20:32:43 +02:00
Daniel Nicolai 8c931b9c86 Evilify special-mode by default
As special-mode is a read-only mode, it could be evilified by default.
I am not aware of any case where this is not desired.
2021-08-22 20:26:32 +02:00
Aaron L. Zeng 1a9ebf42df Fix file rename target path when buffer name is uniquified
When the buffer's name is uniquified (because multiple buffers have
the same short name), it is no longer equal to the basename of the
buffer's file name, so it is incorrect to use the buffer name in the
rename operation.
2021-08-22 19:56:17 +02:00
Daniel Nicolai 2f0f7a3fe7 Fetch info+ via quelpa wiki recipe
Fixes #14525 and 8bcc420.
2021-08-22 19:19:41 +02:00
duianto d9c3dc678c
Fix evil search prompt on mouse leave (#15002) 2021-08-21 01:49:40 -04:00
duianto 6205d29e11
[compleseus] Fix keys (#14968) 2021-08-20 04:50:45 +00:00
duianto 090a4c89da
[compleseus] Fix junk file function (#14973)
problem
`SPC f J` (`spacemacs/open-junk-file`) shows:
cond: Cannot open load file: No such file or directory, helm

cause
`spacemacs/open-junk-file`
expects the completion layer to be either: `helm` or `ivy`

notes
The junk file function searches through the junk files,
when the ARG parameter is non-nil
(when it's called with a prefix argument: `SPC u SPC f J`)

The helm and ivy search functions might be choosing the search tool,
based on the first search tool it finds in the variable:
`dotspacemacs-search-tools`
`("rg" "ag" "pt" "ack" "grep")`

The consult package has these two search functions:
`consult-grep`
`consult-ripgrep`

This fix only uses those two for searching.
It checks for the executable: `rg` before `grep`
2021-08-20 04:49:30 +00:00
Anupam | अनुपम 9745c4e88a
Add purescript formatting support (#14984) 2021-08-20 03:48:29 +00:00
Carlos Ferney Clavijo Rendón a99b527056
[erlang] add DAP support through erlang_ls-dap (#14996)
* [erlang] add DAP support through erlang_ls-dap
2021-08-20 03:15:41 +00:00
Aaron Zeng fdeb770103
[nixos] Add nixos-format-on-save (#14982)
* [nixos] Add nixos-format-on-save
2021-08-20 03:09:00 +00:00
Dan Kessler 3a52081c23
[major-modes] add evil-matchit support for matlab (#15000)
* [major-modes] add evil-matchit support for matlab

If `evil-matchit` is available, configure it for us in `matlab-mode`.

Note: This commit by itself doesn't actually do anything, because currently,
`evil-matchit` supports `octave-mode`, but not `matlab-mode`, although it's a
very simple matter of just turning on its `octave-mode` configuration for
`matlab-mode`. I'm submitting a PR against `evil-matchit` in order to support
`matlab-mode` out of the box.
2021-08-20 03:03:48 +00:00
Daniel Nicolai 3875f7a2fd Change show-all keybinding to outline-cycle-buffer in pdf layer
Emacs 28 adds the outline-cycle-buffer feature. Currently there is no keybinding
to fold the outline of a pdf. So let's replace show-all by it for >= Emacs 28,
because it is easier to remember a single keybinding for folding and unfolding
then having separate bindings for those.
2021-08-16 17:23:25 +02:00
Daniel Nicolai 8b05eb47c0 Evilify and add follow link (hint) keybinding to org-roam buffer 2021-08-16 15:21:08 +02:00
Dmitry Polienko 9bb3115bce
Remove obsolete paragraph from the LSP layer documentation (#14989) 2021-08-14 19:21:30 +00:00
duianto f3b902a304 Fix ahs ts, open prompt
problem
opening a prompt, ex: `M-x`
while the Symbol Highlight Transient State (`SPC s h`) is open,
leaves `auto-highlight-symbol-mode` enabled

cause
when the idle timer runs,
it tries to disable ahs mode in the prompt window
2021-08-14 16:12:25 +02:00
inwit 40ae5e2293 Add bindings for scrolling the message pane in tree-view
In standard notmuch-emacs, one can scroll back and forth the message
pane using `SPC`/`BKSPC`. Obviously, this is not the case in Spacemacs,
where `SPC` is reserved. There was no way to scroll the message pane in
this layer, so I added `M-d` and `M-u` wired to
`notmuch-tree-scroll-message-window` and
`notmuch-tree-scroll-message-window-back`.
2021-08-02 22:55:49 +02:00
Aaron L. Zeng 0f71054dcc [shell-scripts] Add format-on-save docs to README.org 2021-08-02 22:44:59 +02:00
Aaron L. Zeng 9e361eedc2 [shell-scripts] Add shell-scripts-format-on-save 2021-08-02 22:44:59 +02:00
Daniel Nicolai cc8f3a3a32 Add python-send-shell-with-output command
Currently when using any python-send-shell command, the output of the evaluation
is not shown in the comint shell (see Emacs bug#49822).
This commit adds a simple function to send input and get the output printed in
the comint process buffer.
2021-08-02 22:16:37 +02:00
duianto 7b5b69fda5 [compleseus] Fix indentation 2021-08-02 13:24:37 +02:00
Thanh Vuong 50f4fe183f [compleseus] add consult-line-multi 2021-08-02 13:20:42 +02:00
Борис Верховский e2aff2c915 use new breakpoint() for more Python versions
follow up to #11490
2021-08-02 12:32:02 +02:00
SpacemacsBot 168e68e2d5 [bot] "documentation_updates" Sat Jul 31 14:26:32 UTC 2021 2021-07-31 16:32:46 +02:00
dalanicolai 236eb94320 Fix google-translate functionality
This bug exists already since I started using Spacemacs about 1.5 year ago.
Because it was already reported upstreaim in
[this issue](https://github.com/atykhonov/google-translate/issues/52), I
implemented this fix only locally.

However it becomes time now to implement this fix globally, to fix the
google-translate functionality by default.
2021-07-31 16:25:20 +02:00
Daniel Nicolai 65121ddd30 Improve spacemacs/default-pop-shell docstring
Add instruction for controlling automatic change to working directory ('fixes'
2021-07-30 17:10:38 +02:00
Keith Pinson b2a18301fa [defaults] Disable line numbers with `SPC t n n`
Toggles are great and all, but the trouble with the various toggles for line
numbers is that they force you to remember and think about the fact that there
are variant forms of line numbers. To beginners or forgetful people the various
combinations of behavior can be unintuitive here (e.g. toggling off relative
line numbers does nothing if you are actual in visual line numbers mode). Though
it doesn't fit exactly into the normal stuff we have for toggles, due to the
complexity of this situation I think it is good to just have a way to say "line
numbers be gone!"

Wasn't sure what keybinding to use, so used a double-tap mnemonic.

If this PR gets rejected, there are a couple minor fixes that should probably be
pulled out and submitted separately.
2021-07-30 16:57:27 +02:00
Daniel Nicolai 295e4271ef Fix wrong buffer name after file rename
When providing only the new directory path (i.e. without new filename) while
moving a file to a new directory with `spacemacs/rename-current-buffer-file`,
currently Spacemacs opens the file in a new buffer with the directory name.

Additionally, the `file-renamed-p` gets set the wrong value. To fix both
issues (with minimal work), it is easiest to just fix the `new-name`
value (alternatively fixing the `rename-buffer` and `set-visited-file-name`
forms later would not fix the wrong `file-renamed-p` value issue).

Finally when called with a universal-argument, then that argument
unintentionally gets 'passed' in the interactive call to
projectile-invalidate-cache. So this PR fixes that by changing the interactive
call to a funcall.
2021-07-29 20:54:30 +02:00
Daniel Nicolai 15ec5c57e9 Evilify image-dired-thumbnail/display-image-mode-(map)s 2021-07-28 20:40:23 +02:00
Thanh Vuong dce3f1d722 [ivy] add open in other window for ivy-xref 2021-07-28 19:38:30 +02:00