Commit graph

5575 commits

Author SHA1 Message Date
Ivan Yonchovski c6ffe996b6
[editing] Added string-edit package to editing layer 2021-02-28 21:24:23 +01:00
Ag Ibragimov fe0af4f74b mu4e: require mu4e for mu4e-org-link-support
it looks like it still would throw a message:

"mu4e-org-store-link: Please load mu4e before mu4e-org" if attempted to use
`org-store-link` before loading mu4e. I'm just going to bump the version number until
someone offers a better solution
2021-02-28 21:04:52 +01:00
Ilya Grigoriev e8976832f8 Restore SPC gfd for magit-diff, set SPC gfm for magit-file-dispatch
Fixes https://github.com/syl20bnr/spacemacs/issues/14434
2021-02-28 20:55:53 +01:00
Ivan Yonchovski 2efe665bce [java] New keybindings for lsp-java 2021-02-28 20:34:35 +01:00
Thanh Vuong 54e3cc572f [ivy] extend highlight for selection in emacs 27 2021-02-25 14:56:34 +01:00
Maximilian Wolff cf82ac2ed3
[org] Make org layer activate org-roam-global-minor-mode
Org layer must activate org-roam-mode once it is
fully loaded to ensure proper integration if one
of the org-roam files are opened.

Fix #14411
2021-02-23 23:12:52 +01:00
duianto 67287faeed
[doc][spacemacs-editing] Add urls to supported packages 2021-02-23 22:26:07 +01:00
Maximilian Wolff 37008c07c4
[typescript] Restore format bindings for typescript-tsx-mode 2021-02-23 22:17:44 +01:00
Maximilian Wolff b3992c61ef
[lsp] Bind lsp specific toggles from SPC m T to SPC m T l
Many lisp related modes create confliciting bindings in
`SPC m T`. To avoid these clashes I have moved the LSP
specific toggles to a different prefix now.

As this just affects toggles I hope that the negative
impact on muscel memory will be minimal.
2021-02-23 20:40:42 +01:00
duianto 319626d1ad Bind s to the dired-quick-sort hydra
The dired-quick-sort hydra was bound to: S

But the introduction of evil-collection-dired
[evil-collection] support for dired #14333
https://github.com/syl20bnr/spacemacs/pull/14333

Now binds S to: dired-do-symlink
334670e29d/modes/dired/evil-collection-dired.el (L66)

It also restored the default evil behavior of: s
to: evil-substitute

But it isn't useful in the dired buffer since it is: read-only
2021-02-23 20:26:31 +01:00
Ag Ibragimov e3434e8635 source-control: Change SPC gfd to magit-file-dispatch
SPC g f d  key should be more "contextual", allowing user to perform operations
associated with the current file
2021-02-23 14:43:17 +01:00
Maximilian Wolff 6111b27945
[languagetool] Fix missing autoload on langtool-correct-buffer
Fix #14390
2021-02-22 22:59:03 +01:00
Maximilian Wolff 98176b130c
[typescript] Cleanup bindings to avoid duplicate code 2021-02-22 22:32:11 +01:00
Cheng, Rong 1f1ed2a976
Add typescript-format keybinding in typescript-tsx-mode
typescript-format is bound to leader-key == in typescript-mode, but not
in typescript-tsx-mode.
2021-02-22 22:08:30 +01:00
Lin Sun 23af0c540a [markdown] remove duplicating code which already exists in "markdown-mode" 2021-02-22 22:01:51 +01:00
Maximilian Wolff cecc4ef887
[markdown] Make sure not to throw when git-commit-mode is not bound
Should fix #14397
2021-02-21 23:34:02 +01:00
Maximilian Wolff aa1051e1c8
Move lsp-ui back to be enabled by default
I don't think that setting this to a fixed value
will solve the issue. Right now we have a conflict
between feature rich and simple here.

This is similar to what we have with the search
integration (helm vs ivy) and in the tree
implementation (treemacs vs neotree).

For these we have a workflow during the initial
dotfile creation. Which we need to follow here
too.
2021-02-21 22:06:27 +01:00
winsphinx 9ecce8231a fix variable name in lsp doc 2021-02-21 17:53:53 +01:00
Ivan Yonchovski b6aed092cf [evil-cleverparens] `evil-cp-change' should move the point
I have a PR for that https://github.com/luxbock/evil-cleverparens/pull/71 but it
is not reviewed for a long time. Without this change when you do `ci"` the
cursor won't go in the "".
2021-02-21 17:43:45 +01:00
Ivan Yonchovski df09240229 [lsp] Do not include lsp-ui by default
- lsp-ui is very opinionated so better to have it enabled/installed on demand
2021-02-20 22:01:23 +01:00
Ivan Yonchovski 599a9bb278 [helm] avoid duplicates in `helm-M-x' history 2021-02-20 22:00:26 +01:00
Ivan Yonchovski 1d0cd56c17 Revert to default value of helm-swoop-speed-or-color
- having font-lock enabled for swoop buffers is really slow
2021-02-20 21:59:35 +01:00
Maximilian Wolff e5620ddfbf Reverted ESS: Fixes syl20bnr#13282
Having sourced a file for every R repl session
is not working reliably due to the different
value of DISPLAY on every environment.

Users are expected to use R specific ways
to set their env variables for now.
2021-02-20 07:40:13 +00:00
tris 699be3fe28 [editing] add binding for multi-line 2021-02-20 08:02:32 +01:00
duianto f4999e8242 Restore evil-visual-state-map on edebug exit
problem:
Exiting edebug-mode, leaves the evil-visual-state-map
with only the two key bindings that are defined in:
evilified-state--setup-visual-state-keymap
y       evil-yank
escape  evil-exit-visual-state

solution:
Restore the evil-visual-state-map when exiting edebug-mode.

Added an alias for the new exit function:
evilified-state--evilified-state-on-exit

called: evil-evilified-state-exit
the opposite of: evil-evilified-state
2021-02-20 07:49:43 +01:00
Lin Sun 0220101c7f [markdown] fix warning message for #14387 2021-02-20 07:48:06 +01:00
duianto 7e38f2e64e Disable evil collection unimpaired bindings
This restores the previous Spacemacs
Info-mode and help-mode buffer bindings.

for example:

before:
The square bracket keys are prefixes for one key:
"[u" 'evil-collection-unimpaired-url-encode
"]u" 'evil-collection-unimpaired-url-decode

after:
 ]                       ;; Info-forward-node
 [                       ;; Info-backward-node

 ]                       ;; help-go-forward
 [                       ;; help-go-back

Fixes: Evil keybindings for navigation no longer behave as expected in Info buffers #14375
2021-02-19 16:56:59 +01:00
Maximilian Wolff e4452f9a85
[ess] Set DISPLAY in R buffer only if not set already
See #13282
2021-02-16 23:04:02 +01:00
duianto b6aa0e651f [git] Remove unused evil-magit function
The only usage of the function: spacemacs//magit-evil-magit-bindings
was removed in the PR: [spacemacs-evil] add evil-collection #14200
2021-02-15 10:47:38 +01:00
duianto 3f7e69e0b1 [git][doc] Update magit bindings link
The evil-magit package has been deprecated and moved to:
https://github.com/emacs-evil/evil-collection/tree/master/modes/magit
2021-02-14 19:39:56 +01:00
Maximilian Wolff af0d0e7276 [purpose] Fix undefined magit-display-buffer-function during startup
With purpose and the new layer verification algorithm in place
it looks like the default load order changed causing
`purpose-x-magit-multi-on` to access `magit-display-buffer-function`
before is has been loaded.
2021-02-14 08:16:13 +00:00
emacspace 7eaa072234 documentation formatting: Sat Feb 13 22:58:15 UTC 2021 2021-02-14 00:00:32 +01:00
Daniel Nicolai 44add11c7a Add auto hide tabs feature to tabs layer
Ideally it would be great to implement tabs switch with C-tab (or C-}) that
shows the tabs as long as C is pressed. However Emacs does not support key
release events so this function uses a timer as a workaround.

To me Emacs looks better when tabs are hidden, and also packages like
pdf-continuous-scroll-mode break when tabs are shown.
2021-02-13 23:55:17 +01:00
Maximilian Wolff 8f934f138d
[lua] Fix unbound var error during layer load
I have introduced a small typo which I
am fixing here.
2021-02-13 23:20:37 +01:00
Maximilian Wolff fc2aa2601c [lua] Revise layer and fix LSP integration
The lsp integration was not standard at all in
this layer I have refactored it now to be working
like the rest of Spacemacs.
2021-02-13 21:53:57 +00:00
Lin Sun ca0fe33c8d [lua] more lsp backends for lua 2021-02-13 20:50:39 +00:00
duianto b93bdbd4ad Handle when evil-set-undo-system is missing
problem:
updating Spacemacs without updating the evil package,
breaks Spacemacs on startup:
Symbol's function definition is void: evil-set-undo-system

solution:
make sure that evil-set-undo-system is bound.
2021-02-13 12:01:31 +01:00
Daniel Nicolai a747c1eadd Improve better-dafault docs about possible bindings shadowed 2021-02-13 09:48:49 +01:00
Aaron L. Zeng 901082b914 [fsharp] Declare package eglot-fsharp
eglot-fsharp is now distributed as a separate MELPA package from
fsharp-mode, so it needs to be listed in `fsharp-packages`.

Also, refactor some conditions to read more clearly.
2021-02-13 09:48:08 +01:00
JAremko 91d5bfbadc Add eval to comment elisp-mode function 2021-02-13 09:45:00 +01:00
duianto 3bb13db857 Fix home buffer ace links
Pressing o `(spacemacs/ace-buffer-links)`
on the Spacemacs home buffer `SPC b h`.

Adds an ace link (one or more highlighted letters),
at the menu buttons, and the startup list entries.

problem:
The text: `[S P A C E M A C S]` gets an ace link,
but it isn't a button.

When the [?] button has been pressed, and the Quick Help
is open, then ace links appear on the open square brackets
for each key binding, but they aren't buttons.

In the lists: recent files, projects, etc.
The ace links appear before the first / (slash).
This means that in windows they appear after `c:`.

solution:
Add the ace links at the beginning of each widget-button.
2021-02-13 09:38:23 +01:00
duianto 3acf188bad [keyboard-layout] Fix colemak-hneio next/prev line in magit 2021-02-12 09:16:10 +01:00
duianto 9375d6f54d Add missing space before defun args parens 2021-02-10 08:51:55 +01:00
Jamal Rahhali fae767afd8 Change elm-analysis -> elm-analyse
There is no such NPM package elm-analysis, but there is an elm-analyse.
2021-02-09 22:15:51 +01:00
Daniel Nicolai ec8a278505 Fix EAF-layer to make it work with the epc (support Windows) 2021-02-09 22:11:23 +01:00
Thanh Vuong c11e8baa9d [ivy-rich] enable ivy-rich-project-root-cache-mode
which improves performance when many buffers opened.

Ref:
https://github.com/Yevgnen/ivy-rich#project-performance
ref https://github.com/syl20bnr/spacemacs/issues/10101
2021-02-09 15:04:23 +01:00
emacspace d9ad951c86 documentation formatting: Sun Feb 7 22:30:25 UTC 2021 2021-02-08 03:32:07 +02:00
emacspace 68444f5487 documentation formatting: Sun Feb 7 21:35:33 UTC 2021 2021-02-07 23:25:33 +01:00
Daniel Nicolai 3c1526fcd4
Fix doc org-contacts 2021-02-07 23:23:30 +01:00
Maximilian Wolff d264d04698
[org] Manually load org-contacts during agenda config
Removing this statement seems to create issues,
lets see if adding it back resolves them again.

See #14297 for details.
2021-02-07 23:19:55 +01:00