Commit graph

10977 commits

Author SHA1 Message Date
emacspace
a76bda6a54 documentation formatting: Wed Aug 5 12:35:48 UTC 2020 2020-08-05 14:45:34 +02:00
Langston Barrett
af6b1479f3 new layer: outshine (with outorg support)
outshine layer: Add "Features:" section to the README

outorg: use `a O` instead of `a o o` as a prefix

outshine: add transient state

outshine layer: (re)document keybindings, add imenu keybinding

outshine layer: fix outorg mode keybinding documentation

address review comments
2020-08-05 14:28:37 +02:00
duianto
04b80d610a [python][doc] Fix emphasis
README.org
Buffer formatting, first paragraph
The apostrophes before: yapf and black
caused the org emphasis verbatim equal signs to be visible.

config.el
python-formatter variable docstring
An apostrophe instead of a backtick, before the possible value: lsp
caused it to be shown with the default docstring color.
2020-07-29 08:37:42 +02:00
Tommi Komulainen
f57ebbb994 [typescript] configure tslint also for lsp backend 2020-07-28 15:34:27 +02:00
Jaakko Luttinen
3834bb1151 [python] Support --last-failed for pytest. Fixes #12023 2020-07-28 14:19:44 +02:00
Martin Sosic
684976c993 [javascript] Add README details about linter configuration 2020-07-24 11:12:10 +02:00
Robert Roland
d98cccaa2f [rust] Small typo fix
This fixes a small typo, switching ` for =
2020-07-24 10:54:02 +02:00
duianto
4b7273cd09 [themes] Sort supported themes alphabetically 2020-07-21 23:29:13 +02:00
Kirill Chernyshov
9e6cfbb83e Add almost-mono-themes into core-themes-support list of aliases 2020-07-20 22:33:29 +02:00
Damon Wang
c393990452 Improve slack layer keybindings
1. Make slack-mode bindings available in slack-thread-message-buffer-mode
2. Bind : to slack-insert-emoji
2020-07-19 20:44:12 +02:00
emacspace
69ecdfe514 documentation formatting: Sat Jul 18 20:49:09 UTC 2020 2020-07-18 22:54:28 +02:00
Maximilian Wolff
e41fe49a0c
[treemacs] Fix wrong instructions to set ace mode as default action 2020-07-18 22:45:54 +02:00
duianto
b604743369 [doc] Document how to bind keys to a macro (one or more keys) 2020-07-18 22:33:11 +02:00
Maximilian Wolff
afc133d2ff
[groovy] Fix broken binding for non-lsp company backend 2020-07-18 10:07:30 +02:00
emacspace
fa991f0d62 documentation formatting: Sat Jul 18 07:52:04 UTC 2020 2020-07-18 10:01:18 +02:00
Maximilian Wolff
a45c2ce7d5
[core] Revise fixed M-x binding
After the latest change the list of bindings
has been changed to a dynamic form which
is not only slow but very hard to maintain.

I have replaced the list with the original one
and replaced the fixed line with backquote notation
to keep it static.
2020-07-18 09:56:54 +02:00
hackartist
0e3065af92
[core] M-x prefix was fixed
* Issue
* It could not correctly bind a prefix.
* where `dotspacemacs-emacs-command-key` is modified,
* it continuously binds a `M-x` prefix to `SPC`
* `SPC` always looks as `M-x`

* Solution
* `SPC`, hard coded `string`, was modified to `dotspacemacs-emacs-command-key`

* Expectation
* When a `SPC` prefix is bound, it should be displayed as the registered name.
2020-07-18 09:53:01 +02:00
Loys Ollivier
d0bfc51c7e
visual: apply ansi color only on compilation major mode
Some modes have compilation-mode as parent mode but the ansi coloring
scheme is breaking their highlighting.
i.e. https://github.com/Wilfred/ag.el/issues/124

Fix this by applying ansi-colors only when the major mode is
compilation-mode.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-07-18 09:47:34 +02:00
duianto
5150ac6c50 [helm] Hide helm-ff-cache-mode mode-line indicator 2020-07-18 09:40:14 +02:00
duianto
dd397b1ad5 [semantic-web][docs] Fix layer renamed from semweb 2020-07-18 09:39:35 +02:00
Cormac Cannon
bf1ef03bda [org] Updated 'Archive subtree' command to support customisation.
Binding ~SPC m s A~ to org-archive-subtree-default rather than existing
org-archive-subtree binding.
2020-07-18 09:38:54 +02:00
Codruț Constantin Gușoi
18bd126de4 Change browse-at-remote to "SPC go" sicne it is not github specific 2020-07-18 09:37:11 +02:00
Benjamin Yang
0fe36bed57 [shell] Update vterm binding in README
Back in commit ac3752ffd, the binding for `vterm` was updated to fit in with the
rest of the `shell` layer bindings (under `SPC a t s v`).  However, the `README`
was not updated to match.  This commit updates the `README` for the `shell`
layer.

Relates to #13503.
2020-07-18 09:35:11 +02:00
Keith Pinson
4e57eaceea
Remove gradle-mode to stop it breaking bindings of other major modes
After using Java mode, Gradle keybindings infect or even clobber keybindings of
any subsequently used major-mode. For example, the critical Agda major mode
keybinding of `l` as `agda2-load` gets with a Gradle menu!

The cause, found by @duianto, is that `emacs-gradle-mode` sets itself to a
[global](e4d665d578/gradle-mode.el (L176-L183))
minor mode. The docs for `define-minor-mode` say about `:global:`

> If non-nil specifies that the minor mode is not meant to be
> buffer-local, so don't make the variable MODE buffer-local.
> By default, the mode is buffer-local.

I don't know why `gradle-mode` is doing this; presumably there is some reason or
need for it. But the author of that package hasn't been on GitHub since 2017,
and the last update of the package itself is from early 2015.

To seal the deal, `gradle-mode` hasn't been working anyway (at least, I've never
got it to work). I've been running Gradle by launching a terminal within Emacs.

Fixes #13750.
2020-07-18 09:30:35 +02:00
Codruț Constantin Gușoi
b3bbbd229d Update changelog with most important changes 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi
698a981e8c Adds text insertion functinos and keys 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi
69078f8d9b Disable the magic comment insertion by default 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi
f4f9f74075 Use refactor prefix for the quote and block toggles 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi
ecb06efbb4 Fix ruby mode handling for special files 2020-07-17 21:02:28 +01:00
Maximilian Wolff
56338b537d
[elm] Add lsp support 2020-07-17 18:13:18 +02:00
Benjamin Yang
39de9ff0af [spell-checking] Add keybinding for flyspell-region
For those times when just a comment needs to be spellchecked, `flyspell-region`
should have its own keybinding.
2020-07-16 10:46:36 +02:00
duianto
1e677bb532 Revert "[spacemacs-bootstrap] Fix mode-line evil state foreground"
This reverts commit 4562da2b56.

Revert reason:
emacsclient broken on develop branch by commit 4562da2b5
https://github.com/syl20bnr/spacemacs/issues/13766
2020-07-13 22:20:37 +02:00
Maximilian Wolff
c43b9ea104
[core] Revise "do not delete system package" check
Fixed some smaller issues and added the missing
logging feature.
2020-07-13 00:55:23 +02:00
William Cedervall
52d5d9d98f
Only remove non system pkg
Added "configuration-layer//system-package?" based on package-delete
(pretty much a direct partial copy-paste) so that
"configuration-layer//package-delete" can check if package is a
system package

No crash on spacemacs boot (with unused system-package present).
Though right now "configuration-layer//package-delete" only ignores system
packages instead of reporting them. Not entierly what @nbraud proposed,
but insufficient err-logging is a significantly smaller issue.

Fixes #11160
2020-07-13 00:55:23 +02:00
emacspace
dec350eb84 documentation formatting: Sun Jul 12 08:21:50 UTC 2020 2020-07-12 21:03:53 +02:00
John Practicalli Stevenson
5f7e56fecc [clojure] refactor namespace key bindings
Add key bindings to refactor namespace forms for existing functions in CIDER.

"ran" 'clojure-insert-ns-form
"raN" 'clojure-insert-ns-form-at-point
"run" 'clojure-update-ns
2020-07-12 21:01:57 +02:00
milserk
aef1c2726f Restore attribute and variable names in theming layer docs
The example attributes and variables names were lost in a previous commit. This commit adds them back.
2020-07-12 21:00:06 +02:00
duianto
4562da2b56 [spacemacs-bootstrap] Fix mode-line evil state foreground
The evil state foreground color on the mode-line was set to
the mode-line background color.

This caused problems with some themes.
[FEATURE REQUEST] Darker option for mode-line color codes #13731

Solution:
Set the evil state foreground color to the darker of the
mode-line face foreground or background colors.
2020-07-12 20:53:51 +02:00
Aaron L. Zeng
1a28a26738 [osx] Don't initialize osx-dictionary on non-mac systems
Restore the `SPC x w d` key binding for define-word-at-point, from
spacemacs-language.
2020-07-12 20:51:06 +02:00
kenkangxgwe
21b3ae20b3
Update key bindings for vterm
* Sending <kbd>Esc</kbd> to vterm using `vterm--self-insert` results in `1;5u`,
using `vterm-send-escape` instead.
* <kbd>Ret</kbd> is not sent by `vterm--self-insert`, using `vterm-send-return`
instead.
2020-07-12 20:41:07 +02:00
Maximilian Wolff
d4a590a2fd
[helm] Fix helm with universal argument 2020-07-12 10:18:25 +02:00
Maximilian Wolff
920f568d81
[groovy] Make all variables adhere to layer naming scheme 2020-07-12 01:42:44 +02:00
Maximilian Wolff
8e3ea78191
[kotlin] Add lsp support 2020-07-12 01:34:25 +02:00
Maximilian Wolff
f3f0e3a98d
[groovy] Fix missing ")" in documentation 2020-07-09 22:05:19 +02:00
Maximilian Wolff
3985f0042b
[vimscript] Add lsp server support 2020-07-09 22:03:55 +02:00
tuh8888
ce5f278a2a [git] Allow multichar major mode leader key for exiting magit commit edits 2020-07-07 16:06:38 +02:00
Maximilian Wolff
ac3752ffd7
Add missing prefixes to global application bindings 2020-07-06 23:13:52 +02:00
Maximilian Wolff
eacab70047
[groovy] Add lsp server support 2020-07-06 22:26:07 +02:00
Magnus Therning
7f2dfe9c91 [haskell] Move keybindings when using LSP
A few of the layer's keybindings are shadowed when using the LSP backend:

- `F` - format buffer using stylish
- `hh` - lookup on Hoogle
- `gi` - navigate to imports

These are useful shortcuts to keep, so when the LSP backend is in use they are
rebound like this:

- `F` -> `S`
- `hh` -> `hg`
- `gi` -> `gl`
- `hH` -> `hG` (not one that is shadowed, but rebound to bind external and local
  Hoogle lookups to similir shortcuts)
2020-07-05 22:33:08 +02:00
Ivan Yonchovski
7a107e65d2
Make spacemacs/useful-buffer-p much faster
- `with-current-buffer` triggers a lot of hooks.
2020-07-05 22:28:47 +02:00