Commit graph

5101 commits

Author SHA1 Message Date
Alexander Konotop 2c2cfe6f92 Added dap inialization for php layer. Updated a manual respectively. 2020-04-20 19:27:13 +02:00
Ivan Yonchovski e5f4db6ebe [dap] Add dap-ui-controls-mode integration for dap layer 2020-04-20 19:16:19 +02:00
emacspace ee025391f7 documentation formatting: Sat Apr 18 19:32:59 UTC 2020 2020-04-20 19:14:41 +02:00
Maximilian Wolff 5f12569954
Move conda and ipython-notebook layer from +lang to +tools category
Also adjusted the tags to match the folders the layers
are in. I have also updated the binding for imenu mentioned
in protobuf layer and adapted the kubernetes tags to register
as tool instead of as os.
2020-04-18 21:28:14 +02:00
Maximilian Wolff d36db7920f
[ranger] Make layer not use two different application level bindings
Ranger did register two application layer level bindings to call ranger
or deer. This has now been moved to its own application level binding
spc a r.
2020-04-18 20:57:17 +02:00
Maximilian Wolff 5e037c8890
[core] Move easy pg bindings from SPC a e to SPC a Y
The global bindings for easy pg clash with the evernote layer.
Therefore I have moved it to SPC a Y instead.
2020-04-18 00:51:41 +02:00
Maximilian Wolff 7a7c892dde
[geolocation] Make layer not longer use two global bindings
This layer was using two global bindings SPC a w and SPC a W.

As the available keybindings in that sub-menu are dwindling
I have moved the bindings to SPC a w w and SPC a w W instead.
2020-04-18 00:43:13 +02:00
Maximilian Wolff acdd37def1
[pass] Move global bindings to SPC a a instead of SPC A p
Also make layer work properly in non evil mode by using
spacemacs macros instead of evil primitives.
2020-04-18 00:29:58 +02:00
Maximilian Wolff 81c99a6ea3
Revert "[rcirc] Move binding from SPC a i to SPC a I to avoid key conflicts"
This reverts commit 0ed30eb4bf.

The change was not really necessary both are using different
sublevel bindings.
2020-04-18 00:09:07 +02:00
Maximilian Wolff 0ed30eb4bf
[rcirc] Move binding from SPC a i to SPC a I to avoid key conflicts
Rcirc layer was using the same global bindings as erc layer.
To avoid key conflicts this moves rcirc to SPC a I instead.
2020-04-18 00:03:28 +02:00
Maximilian Wolff 87ba29760a
[dash] Fix wrong keybindings in README 2020-04-17 23:43:42 +02:00
Mike Holm 23133adbe2 add js log key bindings to react layer 2020-04-16 23:47:18 +02:00
emacspace d6ad9ec120 documentation formatting: Thu Apr 16 21:34:10 UTC 2020 2020-04-16 23:41:56 +02:00
Hans Jang 39f774f70b
[Python] Reflect upstream pytest update to python-test-last
This is a squash commit, it contains:
* Reflect upstream pytest update to python-test-last
* Update CHANGELOG.develop
2020-04-16 23:37:25 +02:00
Simon Sellar cf9cd69cf8
Update installation command for Vue language server in Vue Layer 2020-04-16 23:31:50 +02:00
Xiang Ji 9a7eb76101 [vue] Update package name for vue-language-server 2020-04-16 23:28:22 +02:00
Hans Jang 397b21e4f1
Replace close-compilation-window with show-hide-compilation-window 2020-04-16 23:22:24 +02:00
Didier A b5eea24926 Modified Clojure layer's major leader binding sl to be smarter and find the associated repl when in a non cider repl buffer and clear it, instead of throwing an exception, which is what it currently did. 2020-04-16 23:06:37 +02:00
Maximilian Wolff c191f06235
[dash] Move bindings from SPC d to SPC a z to avoid key conflicts
Debug bindings are now added to the global binding of SPC d therefore
dash had to move to the standard application bindings.
2020-04-16 21:55:37 +02:00
Ivan Yonchovski fb870e84a5 [defaults] Added shortcut to switch to last compilation buffer 2020-04-16 21:54:53 +02:00
Ivan Yonchovski 6fbcef0648 [lsp] Use lsp-ivy when ivy layer is present 2020-04-16 21:53:31 +02:00
Ivan Yonchovski 8fe8f76cd6 [dap] Provide global keybindings for dap-mode
- added the same bindings you normally have under `SPC m d` under `SPC d`
similar to what Debug layer does. Most of the dap-bindings are not content
sensitive(e. g. rerun last debug session) and it doesn't make sense to restrict
them only to particular major modes.
- Moved `spacemacs/browse-docs-online-at-point` from `SPC d b` to `SPC h b d` to
avoid collisions.
2020-04-16 21:52:18 +02:00
Ivan Yonchovski d5f3420a55 [Treemacs] Use treemacs-icons-dired when treemacs layer is present
- use treemacs-use-icons-dired to enable/disable it
2020-04-16 21:35:59 +02:00
Ivan Yonchovski 0ae8b2712a [visual] Pin dap debug buffers to the bottom
- reuse the botom window for all windows that are in compilation mode and in
dap-server-log-mode. Without this change you will get two windows on top of each
other when you do `SPC c c` and then `SPC m d d d`
2020-04-16 21:34:41 +02:00
Ivan Yonchovski 9f75a65398 [defaults] Add function+shortcut for copy buffer name 2020-04-16 21:32:25 +02:00
Matt Kramer d95d41f55b [julia] Fix inconsistencies in backend configuration 2020-04-14 16:23:17 +02:00
duianto 6ef2543091 [treemacs doc] Fix layer variable 2020-04-14 11:35:57 +02:00
Robert O'Connor 50921702a9 [markdown] Add support for mdx files
Closes #11288
2020-04-12 08:47:29 +02:00
Alexander Miller 3a1bfc2a91 [treemacs] Complete treemacs + persp-mode integration.
- Introduce configuration option to determine scope.
 - Activate treemacs-persp synchronization if opted in.
 - Document changes.
2020-04-11 16:05:34 +02:00
Ivan Yonchovski c3f13d0391 Removed company-lsp in favour of company-capf
- Also removed some cquery artifacts which accidentally ended up in this PR
instead of in https://github.com/syl20bnr/spacemacs/pull/13446
2020-04-04 08:24:44 +02:00
emacspace 465231113e documentation formatting: Fri Apr 3 16:07:25 UTC 2020 2020-04-03 19:22:35 +02:00
emacspace 2ca55e28e3 documentation formatting: Fri Apr 3 15:55:27 UTC 2020 2020-04-03 18:02:51 +02:00
Rodolfo Hansen 7854e57efb
Add support for DAP and lsp-treeview in scala layer
This is squash commit including below commits:

* Add support for DAP and lsp-treeview in scala layer
* Address notes from code review.
2020-04-03 18:00:45 +02:00
emacspace 757dcbf29d documentation formatting: Fri Apr 3 15:45:32 UTC 2020 2020-04-03 17:52:57 +02:00
Daniel Nicolai e40ac8b3bc add and document org-journal scheduled(-view) date shortcuts
org-journal-new-scheduled-entry and org-journal-schedule-view are
both basic org-journal features. Besides providing these shortcuts,
their documentation exposes this functionality to the user.
2020-04-03 17:52:28 +02:00
John Practicalli Stevenson 415b5fb8ba [spacemacs-layouts] update readme with config and keybindings
Add layer variable documentation for persp-autokill-buffer-on-remove
Set to kill-weak, then buffers are deleted when the layout is deleted.
https://github.com/Bad-ptr/persp-mode.el#suggested-configuration

Add usage section
- describe the core usage of layouts

Add keybindings section
- include all keybindings for the layer

Fix formatting
- = instead of ~ and vice versa

Resolve #11698
2020-04-03 17:48:58 +02:00
John Practicalli Stevenson 1055baafa2 [easypg] keybindings using spacebind
Add keybindings for the built in Emacs application called Easy PG, that provides
tools to encrypt/decrypt/sign/verify files and regions using PGP encryption.

Keybindings are defined using spacebind.

Resolve #13319
2020-04-03 17:43:20 +02:00
Ivan Yonchovski c0fc37fe9d Remove cquery backend
- it is no longer supported and it is causing troubles.
2020-04-03 17:38:52 +02:00
Maximilian Wolff 463bbd5361
[layouts] Bind e to select a layout position dynamically 2020-03-31 21:31:50 +02:00
dickmao 2759bce3de
Revert "[ipython] Fix mode name, and remove unmaintainable code"
As discussed at length in #13392, the primary developer of EIN insists
on updating the spacemacs bindings to avoid several-iterations stale commands of
dubious functionality (in particular, multi-worksheet commands).

As the transient state docstring must be "mated" to the updated bindings, he prefers
not having to manually curate it, and exhorts the return of the
automated docstring.  He doesn't insist on it, though, like the above.

bind-map.el counterfeits ein:notebook-mode

bind-map replaces on the `minor-mode-map-alist` the keymap for
ein:notebook-mode with the evilified map, thus making the original
ein:notebook-mode-map inaccessible.

This is might be intentional as one wonders whether having active both the
original keymap and the evilified keymap makes sense.

In EIN's case, yes, we really want the original keymap, e.g., C-c C-c
to execute, to work.  Otherwise C-c C-c defaults to running a python
shell via the python-mode-map, which is really not what we want.
2020-03-31 20:30:25 +02:00
Lucien Cartier-Tilet 77fe8a6139
Fix bug with keyboard-layout layer an bépo layout
When the bépo layout is set from the `keyboard-layout` layer, the
message `(wrong-type-argument keymapp nil)` shows up. After some
digging, it turns out Spacemacs tries to set shortcuts for `nil`
`map` variables in this function.

This commit ensures it is impossible to try to set a shortcut for an
inexisting keymap.

This commit has been tested with Emacs 27.0.90.
It also removes an unused `if` statement
2020-03-31 20:15:34 +02:00
duianto 607d75e2ae [org] Remove obsolete fix, helm-ag unfold org line
It's been fixed upstream.
Use helm-goto-char to show match and reveal outlines
https://github.com/emacsorphanage/helm-ag/pull/304
2020-03-31 20:04:17 +02:00
Benjamin Hipple 2d7480f677
[chrome] Add link to more details about chrome jquery workaround in docs
We probably want to update the `markdown` layer to be able to do this directly
with `firefox`; having to kill and restart all of your `chrome` processes before
using `flymd` is a little clunky! It's nice that we have the upstream workaround
inlined in spacemacs, though.
2020-03-29 21:51:58 +02:00
Maximilian Wolff 72f280dc07
[org] Make org-capture abord bindings work without having to enter insert state
Org-capture abord bindings were only available after having entered
insert state at least once. Bindings are now applied immediately on
entering the minor mode.

Fixes #13084
2020-03-29 00:40:14 +01:00
Maximilian Wolff 332f1bb06f
[org-agenda] Add binding for setting priority 2020-03-28 21:11:59 +01:00
wangtianshu a47e783967
Replace org-ref-helm-insert-cite-link with org-ref-insert-link 2020-03-28 20:10:51 +01:00
emacspace 14881cac15
documentation formatting: Fri Mar 27 21:25:53 UTC 2020 2020-03-27 23:03:53 +01:00
Maximilian Wolff 9bd9151c7a
[go] Load dap when lsp is enabled
Go layer now supports dap, therefore when lsp is selected the layer
will load dap which in turn will load lsp to enable debugging capabilities
for all lsp users.
2020-03-27 21:06:48 +01:00
Ljupcho Kotev e4eafe8324
Add dap-go integration 2020-03-27 21:05:55 +01:00
John Practicalli Stevenson 587ae8ebac
[clojure] Pretty print evaluation keybindings
Show results of evaluating Clojure code in the same format they would be written
in the source code.  This is especially useful for results that are
collections and nested collections.

Pretty print results as a comment.
2020-03-27 21:02:06 +01:00
Maximilian Wolff 4b11590588
[git] Make M-X switch windows in magit buffers
Before M-1 M-2 M-3 M-4 were bound by magit to show fixed numbers
of details. Now these bindings are available with 1 2 3 4 instead.

The M-X bindings are now used for quick switching of windows as in the
rest of spacemacs.
2020-03-27 20:40:15 +01:00
Maximilian Wolff b5f0eb5f76
[org] Fix typo in docs 2020-03-25 07:06:35 +01:00
emacspace 889d889751
documentation formatting: Tue Mar 24 22:00:54 UTC 2020 2020-03-24 23:10:48 +01:00
Maximilian Wolff 48ac607e71
[org] Revise verb integration
Added missing subheadings
Load babel integration before org is loaded
2020-03-24 22:57:25 +01:00
Federico Tedin 82f5b1f242
[org] Add Verb package support 2020-03-24 22:08:50 +01:00
emacspace b59f073cb4
documentation formatting: Tue Mar 24 20:40:51 UTC 2020 2020-03-24 21:45:10 +01:00
Jonta 0fe53d09ef
[keyboard-layout] Grammatical errors 2020-03-24 21:41:49 +01:00
madand 53dbbffec1
[helpful] Bindings and documentation improvements
New bindings:
`gr` - `helpful-update`, reload helpful buffer.
`SPC m q` - `helpful-kill-buffers`, kill all helpful buffers.

Move `o` binding definition into separate post-init function, so the binding
is defined only if the `link-hint` package is actually installed.

Add documentation of the added bindings.
2020-03-24 21:33:11 +01:00
lcos77 d7868dae22
[ipython] Fix mode name, and remove unmaintainable code
1. Previously, the code had references to ein:notebook-mode which doesn't seem
to work (anymore), so I changed these references to ein:notebook.
2. The previous code had a big convoluted function that produced the
doc-string and that was difficult to read that depended on some other
smaller functions, though not enough of them to make the code
sufficiently modular, and therefore, it wasn't very maintainable.
Besides, when I tried the previous version with the name of the mode fixed,
spacemacs hung for a long time -- it's a mystery whether spacemacs would
have continued normally if I had waited long enough. Therefore I replaced
the doc-string with a hard coded one.
3. I added some keybindings from tkamat's fork to the code for I didn't see
a good reason not to
4. I removed the cl- prefix from "second" and "mapcan", because cl is a
deprecated package. However, I'm afraid the names without the prefix might
end up being unrecognized by previous versions of emacs.
2020-03-21 21:56:38 +01:00
emacspace ff4a528bb4
documentation formatting: Sat Mar 21 19:36:41 UTC 2020 2020-03-21 20:57:20 +01:00
Matt Kramer f1e2d974ed
Make spacemacs/open-junk-file create junk directory and fix counsel issues
This is a squash commit including below commits

Add dotspacemacs--pretty-ignore-subdirs

Within the specified subdirs of `dotspacemacs-start-dir`,
spacemacs/prettify-org-buffer (and hence space-doc-mode) will not be called.
Without this variable, using spacemacs/open-junk-file to create an Org file will
result in prettification, which is not necessarily the desired behavior.

Call make-directory in spacemacs/open-junk-file

This imitates the behavior of open-junk-file.

Prevent spacemacs/open-junk-file from getting confused by Dired

If we're in a dired buffer, counsel-find-file will ignore
current-directory (i.e. junk-dir) and use (dired-current-directory) instead. We
fool Counsel by shadowing major-mode to nil.

Update CHANGELOG.develop re spacemacs/open-junk-file
2020-03-21 20:52:21 +01:00
Daniel Nicolai c6fbf09855 fix issue #13395
Ivy-hydra is autoloaded so the require statement here is unnecessary. Because this require (commented out) statement was here before I uncommented it in the last PR (#13377), I leave it here (commented out) as it was before that PR.
2020-03-21 20:34:18 +01:00
Muneeb Shaikh bb8ec23ec1 [themes][keybindings] Use apt completion framework for loading theme
Theme transient state key-binding `t` is broken if `ivy` completion framework is
used. The binding unconditionally invokes `helm-themes`.

This change adds a new function which takes care of invoking correct
theme-loader function based on completion framework currently in use.

The old binding used `helm-themes` but the new function uses already defined
`spacemacs/helm-themes` which removes the number of candidates limit.
2020-03-19 10:48:59 +01:00
Maximilian Wolff 0438c1ca5d
[kubernetes] Add tramp support 2020-03-17 20:41:11 +01:00
Daniel Nicolai 2049817b12
[ivy] Replace custom hydra-menu by original hydra-menu 2020-03-17 09:51:12 +01:00
Maximilian Wolff 2e0f4acad5
Make view-mode closable with q in evil
View-mode was not properly evilified which prevented evil users
from closing it with q. This is now globally fixed not only for
`notmuch-mode`.
2020-03-17 09:21:02 +01:00
Maximilian Wolff 053f6da6c6
[notmuch] Make help closable with q
notmuch help uses emacs view mode which has never been evilified.
With this I am trying to make it closable with q again.

Known issue: q seems only to work the second time it is used, Q can be used
instead.
2020-03-16 20:48:28 +01:00
Maximilian Wolff 83fbc7a13e
[notmuch] Improve evilification and documentation
notmuch-hello was using an evilified buffer which broke the embedded search
widget in the buffer. I have changed the evilification to using normal mode
with manual bindings instead.

In addition I have made the notmuch message buffer closable using "q"
and added the missing notmuch-hello keybindings to the docs.
2020-03-16 00:21:47 +01:00
Maximilian Wolff dc0a1246cc
[scala] Fix implicit loading of lsp layer 2020-03-15 21:03:19 +01:00
Muneeb Shaikh 1d797ffa4a [helpful] follow help buffer convention for displaying helpful popup
Reference: b7fd2fab6e/layers/+spacemacs/spacemacs-visual/packages.el (L93)
2020-03-14 17:02:49 +01:00
Maximilian Wolff c7af787257
Add setting to dotfile to deactivate clean-aindent-mode
There have been complains about issues with `clean-aindent-mode` from
multiple users. For some of these deactivating the mode in their user-init
did not work as intended. Therefore I have added a setting for it in the
dotfile.
2020-03-13 19:00:48 +01:00
emacspace 0cee84f2bb documentation formatting: Fri Mar 13 07:13:20 UTC 2020 2020-03-13 08:19:39 +01:00
Maximilian Wolff 1f2dfb2a67
[scala] Make ensime still working for old configs 2020-03-13 08:10:59 +01:00
Maximilian Wolff 437aa08ef9
[javascript] Fix broken link to tide layer 2020-03-13 00:30:03 +01:00
Maximilian Wolff 1e5cdfeedc
[scala] Avoid depending on abandoned ensime backend
Ensime seems to be finally dead, as ensime-mode is not longer
available on melpa. The same applies to ob-scala the package
which delivered scala support for org babel.

I have changed the layers default to metals and took care that
ensime is not tried to be installed until it is really selected
as a package.

In addition I have also fixed some smaller issues in the layer
which caused ensime specific settings to be forced even when
metals was selected as a backend.

I have also removed the not longer existing org-babel support
for scala as it requires ob-scala which in turn is based on ensime.

See https://github.com/hvesalai/emacs-scala-mode/issues/155 for details.
2020-03-12 23:59:31 +01:00
Maximilian Wolff 5e4b9b8c9b
[python] Add additional dependencies for pyls 2020-03-12 22:09:42 +01:00
Muneeb Shaikh 3f526479e3
[themes] add highly accessible themes - modus-{operandi, vivendi}
Modus themes are highly accessible themes for GNU Emacs, conforming with the
highest accessibility standard for colour contrast between background and
foreground values (WCAG AAA standard).

Screenshots: https://gitlab.com/protesilaos/modus-themes/-/wikis/Screenshots
2020-03-12 21:25:44 +01:00
lin.sun fbe8fba836
[spacemacs-language] Improve google-translate user experience 2020-03-12 21:23:09 +01:00
jr0cket af2d7e320e
[clojure] keybindings for browsing clojure specs
Browse a specific clojure spec or browse all specs in a project.
2020-03-12 20:54:09 +01:00
madand 72b8b4f96b
[helpful] Keybinding: o (link-hint-open-link) 2020-03-12 20:49:01 +01:00
Maximilian Wolff f971ee7120
[typescript] Require tide layer as it is used as formatter by default
I have also updated the installation instructions as tsserver is not
longer available as single executable on npm. Also I've made sure that
modes register for tide backend only if it is really intended to.
2020-03-08 13:05:31 +01:00
Thanh Vuong 97724081bc
Tide layer
Allows use of standalone typescript server for js/ts development
Co-Authored-By: Maximilian Wolff <smile13241324@gmail.com>
2020-03-08 12:29:04 +01:00
dickmao 72ea04946a
[ipython-notebook] further reduce maintenance
update CHANGELOG.develop
+lang/ipython-notebook further reduce maintenance
Remove unmaintained ob-ipython in favor of maintained ob-ein.
reinstate gj gk
reinstate ipython-notebook transient with autogen doc
2020-03-08 12:17:41 +01:00
bb2020 e5e3617bdd
add spacemacs/kill-back-to-indentation 2020-03-08 11:51:18 +01:00
Juan Edi 82fc458df3
Do not reverse search direction after highlighting
Before this, `evil-ex-search-direction` would be left set to 'backward after:

  - entering symbol highlight transient state mode (SPC s h)
  - exiting the transient state

That means that pressing 'n' would go to the previous result instead of the next one.
2020-03-08 11:34:21 +01:00
syl20bnr d17c6e1e9e Add ellipsis for commands that require additional inputs 2020-03-05 22:39:13 -05:00
syl20bnr 82871d4c06 Move rectangles key binding to SPC C-v
To reflect with VIM key bindings on C-v
2020-03-05 21:47:30 -05:00
syl20bnr e5e27d7b8d Rename spacebind to spacemacs|spacebind 2020-03-05 21:04:51 -05:00
syl20bnr 727d45e694 Use spacebind for Buffers key bindings 2020-03-05 21:04:51 -05:00
syl20bnr b2a12479d1 Use spacebind for Files key bindings 2020-03-05 21:04:51 -05:00
syl20bnr 1fc809bdf0 Use spacebind for Differences key bindings 2020-03-05 21:04:51 -05:00
syl20bnr ab3511cfb5 [which-key] Improve readibility
* add column padding
* group prefixes together
* display a minimum of 6 lines
2020-03-05 21:04:51 -05:00
syl20bnr 9685095454 Use spacebind for keybaord macro key bindings 2020-03-05 21:04:51 -05:00
emacspace 550b30c569 documentation formatting: Wed Mar 4 23:06:28 UTC 2020 2020-03-05 12:23:36 +02:00
JAremko 0753287864 rename spacebind -> spacemacs|spacebind
Also fix stuff.
2020-03-05 12:21:01 +02:00
Riccardo Binetti 37c85cdb53
Add TidalCycles layer
This layer adds tidal-mode, to use TidalCycles (https://tidalcycles.org)
from Spacemacs. It also remaps some keybindings in places that are more
idiomatic to Spacemacs.
2020-03-04 23:58:40 +01:00
Koray Al b7910ae40b [#1598] Fix missing mu4e-modes error
The previous PR failed to handle everywhere `mu4e-modes` list is being used so
this will bring it back, but still use the added lists for `purpose` setup.
2020-03-04 23:30:05 +01:00
duianto 12558b0ac2 [gnus] Fix gnus/init-gnus :init section indentation 2020-03-04 23:28:07 +01:00
duianto 728ee6c2b8 [gnus] Make the gnus variables user configurable
The gnus variables were set in the `gnus/init-gnus`
functions `:config` section, that made them override
any user configurations.

Moving the variable declarations to the `:init`
section made them user configurable.
2020-03-04 23:28:07 +01:00
dickmao e0aee15544
Bring ipython-notebook up to date. 2020-03-01 20:36:39 +01:00