Commit graph

10825 commits

Author SHA1 Message Date
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
Maximilian Wolff
6a745993e3
Make dotspacemacs-major-mode-emacs-leader-key use same default in core 2020-03-21 21:14:01 +01:00
Richard Kim
782ad723a9
Fix emacs major mode leader key binding for GUI emacs 2020-03-21 21:12:50 +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
Muneeb Shaikh
b7fd2fab6e [core-themes] Add support for doom-monokai-pro 2020-03-14 09:02:35 +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
Bruno Morais
d4cc5cf916 Add doom-molokai back to supported themes 2020-03-13 18:19:18 +01:00
emacspace
0cee84f2bb documentation formatting: Fri Mar 13 07:13:20 UTC 2020 2020-03-13 08:19:39 +01:00
Bruno Morais
4186ebb658 Replaced doom-molokai with doom-monokai-classic 2020-03-13 08:16:49 +01:00
Maximilian Wolff
1f2dfb2a67
[scala] Make ensime still working for old configs 2020-03-13 08:10:59 +01:00
Maximilian Wolff
518ee4a96e
Fix my previously introduced PR tutorial link 2020-03-13 00:39:27 +01:00
Maximilian Wolff
437aa08ef9
[javascript] Fix broken link to tide layer 2020-03-13 00:30:03 +01:00
Maximilian Wolff
6ec693c6a9
Move PR tutorial from README to CONTRIBUTING 2020-03-13 00:21:32 +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
JAremko
6abe62efb5 [spacebind] generate less code 2020-03-12 22:17:17 +02: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
4ac23df2d4
Add more helpful links to the README 2020-03-12 20:45:06 +01:00
JAremko
710aa947b7 [spacebind] use cl-every 2020-03-11 10:35:11 +02:00
JAremko
62bbff5567 [spacebind] add tests and docs for overrides 2020-03-11 10:35:11 +02:00
JAremko
2e81c032ef [spacebind] enable nested form fmt 2020-03-11 10:35:11 +02:00
JAremko
a18b4d76b2 add :label for atl labels 2020-03-10 20:54:57 +02:00
JAremko
130f00e4f3 make key names more coherent 2020-03-10 20:54:57 +02:00
JAremko
7d177d4e66 Improve spacebind docs 2020-03-10 20:54:57 +02:00
Maximilian Wolff
884afe138b
Mention tutorial links in general README.md 2020-03-08 19:32:57 +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
Hong Xu
2c99a99d59
Remove executable permission from core/templates/.spacemacs.template
733a3a8199 accidentally adds executable
permission to core/templates/.spacemacs.template. This commit removes
the executable permission.
2020-03-08 12:27:20 +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