Questions tagged [spacemacs]

Spacemacs is an Emacs layer focused on modal editing via Evil mode, mnemonics and easy configuration, and the space bar. Use this tag if your question relates to Spacemacs-specific functionality.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

How to resize the bottom mini window?

What I did was I installed the fresh spacemacs I added org and osx layer I used the doom-1337 theme C-c a to select agenda commands Then, the bottom letters are barely seen as the mode-line height ...
0
votes
1answer
29 views

Disable flyspell-mode by default

How do you disable flyspell-mode by default in spacemacs? I don't see where it is enabled in the first place. With customize-variable I can track down global-flycheck-mode, but they seem to be ...
0
votes
1answer
25 views

How to preserve helm project search results to iterate through them

I am using spacemacs with vim bindings and doing a search project-wide for something like while \( with SPC s p. I get the results in a helm buffer and can enter transient state to navigate them, but ...
0
votes
0answers
13 views

Enter Helm transient state with ESC

I'm using spacemacs with vim bindings and would like to enter Helm transient state with ESC as opposed to M-SPC. This would closely mimic entering normal mode, if you think of Helm starting you in ...
0
votes
1answer
20 views

How to remove leftover packages from unused layers

An easy example is adding themes-megapack to dotspacemacs-configuration-layers in .spacemacs, then running SPC f e R, and then observing all the added *-theme packages in your package-selected-...
1
vote
1answer
31 views

Spacemacs missing some keybindings

I just installed Spacemacs v.0.300.0 but the following Spacemacs keybindings from this link do not exist: https://www.spacemacs.org/layers/+emacs/org/README.html#key-bindings The Key Binding tables ...
0
votes
0answers
45 views

How to Angular LSP-mode in Spacemacs

spacemacs does not have support for angular in their layers utility. When setting up python lsp I just added the python layer in the config file then set a hook to start lsp-mode when in python mode. ...
0
votes
0answers
68 views

how to update emacs packages from the command line

I want to be able to update Emacs packages from the command line and then quit. I have written this function (defun updateandquit () (configuration-layer/update-packages t) (spacemacs/...
0
votes
1answer
21 views

How to open image-dired in a directory using a key binding?

The binding works, though I'm still required to input the directory /home/foo/Pictures. What do I have to change? init.el: (spacemacs/set-leader-keys "jI" (lambda () (interactive)...
0
votes
1answer
25 views

How do I change the python layer test command

I'm writing an app in python, which I will run in docker. Therefore I want to test it in docker as well. I'm working in spacemacs and want to use the tools available to test. With projectile this is ...
0
votes
2answers
29 views

Spacemacs org-mode faces

How do I turn off all of the custom faces used by Spacemacs org-mode? For example, the background colouring, the overlines, the bold faces etc. I tried using the Customize sub-menu from the Org menu ...
0
votes
1answer
80 views

Emacs / Doom emacs taking a lot of memory

I'm using Doom Emacs, which is taking a lot of Memory if my browser is opened with 10 tabs. What can I do to reduce amount of memory being used, without sacrificing the packages? My config.el is as (...
0
votes
1answer
16 views

Why do I have missing keybindings for magit in spacemacs?

I am trying to use magit in spacemacs. When I read instructions to use magit, I am instructed to hit spc + g + s. However, when I push spc + g I see only one shortcut which is spc + g + f + s, which ...
0
votes
0answers
12 views

Wrong highlighting used in sparse tree todo items

I am generating a sparse tree for an org file using org-sparse-tree / t. When I do this, the face for all the todo labels does not match the rest of the text: If I change the todo status of an item ...
0
votes
0answers
27 views

How to periodically clear projectile's compilation cache directory for golang?

When I compile a Golang project with projectile-compile-project, I see that a go build cache directory on my system ~/snap/emacs/common/.cache/go-build grows very fast (each compilation seems to be ...
0
votes
0answers
30 views

MAGIT: meaning of magit status: head, rebase, push (git newbie)

In my magit status I see the following: Head: master Commit message Rebase: origin/master Commit message Push: origin/master Commit message I may have done something (pressed some keys) ...
0
votes
0answers
35 views

Spacemacs 0.300: installing only with zip and tar.gz archives offline?

OS: Windows 10 Emacs: 27.2 Spacemacs: 0.300 For some reasons, I cannot retrieve spacemacs through git (a complex combination of corporate proxy and other issues). But I can download archives. Being on ...
0
votes
0answers
71 views

Spacemacs and elpa-mirror

OS: Windows 10 Spacemacs branch: develop Hi, I am behind a corporate proxy. I want to use a local version of elpa through d12frosted's elpa-mirror (https://github.com/d12frosted/elpa-mirror). I have ...
0
votes
0answers
13 views

What's the correct way of setting python directory in mono-repo in spacemacs?

I've added the following to dotspacemacs-configuration-layers in my ~/.spacemacs config file: (python :variables python-backend 'anaconda python-test-runner 'pytest python-sort-imports-on-save t ...
1
vote
1answer
33 views

(Spacemacs) pressing SPC to replace a match during query-replace does not work

(Spacemacs) M-% starts query-replace, and when a match is found, ? shows help, which indicates: Type Space or ‘y’ to replace one match, Delete or ‘n’ to skip to next, However, pressing Space simply ...
0
votes
0answers
31 views

spacemacs: enable code navigation with python

I am using this spacemacs file (one I found). When I open a .py file and try using M-. to jump to the function definition, nothing happens. Then if I use M-x anaconda-mode, I get the message: "...
0
votes
1answer
15 views

How to adjust the search in file behavior in spacemacs?

Currently, when I using vim searching "/searchforsth" with "n" to search for words. After navigating through the words on this page, the next word that is not on the current page ...
1
vote
1answer
141 views

Why do I need to restart emacs to reload configuation in spacemacs?

Anytime I modify the spacemacs dotfile, I need to restart emacs in order for my modification to take effect. I have tried spc+f+e+R, but this does not work. Am I misunderstanding what spc+f+e+R (...
0
votes
1answer
125 views

Set the default background color in spacemacs

I'm trying to set the default background color to black in spacemacs. I'm setting the following theme in my init.el file: dotspacemacs-themes '(afternoon molokai) In my user-config.el file I've ...
0
votes
1answer
76 views

How can I access the python documentation for the thing at cursor?

with open("foo.txt", mode="create") as f: print(file, text[0:300], file=f) ValueError: invalid mode: 'create' Now pointint the cursor on =open=, followed by hitting , h offers:...
1
vote
1answer
200 views

Magit becomes very slow in spacemacs

I am a on and off spacemacs user for a long time but I have recently started working on some bigger projects and so I started investing some more time into improving my workflow and in particular I ...
1
vote
0answers
34 views

spacemacs: org-capture generates point with unexpected highlight

In spacemacs, when I use org-capture to insert in an existing .org file with a template, I get an orange highlight that I don't expect, and I don't know what it means: In the image the 2021/07/16 ...
1
vote
1answer
50 views

org-capture template does not replace the date placeholder or use the correct level

I'm trying to create an org capture template that will just insert a second level point: "** 2021/07/16" (or whatever the current date is). I expect this setq example to do that: (setq org-...
0
votes
0answers
15 views

Spacemacs: Python auto-completion works on Linux but not MacOS

I just installed Spacemacs on both my Linux and MacOS machines, but for some reason python autocompletion is not working on the MacOS installation. On Linux, I enabled the python layer and auto-...
0
votes
1answer
31 views

`racket-mode` REPL doesn't find packages

I recently installed Racket (using Guix) and installed a couple packages (gregor-lib and pollen). When launching from my terminal, it all works as intended. Inside Emacs however, both racket-mode ...
0
votes
0answers
39 views

anaconda-mode completion not working for python3 modules from pip3 and non-standard python3 modules from Debian repos

Using Spacemacs 0.300.0 develop on Debian 10.9 (stable). My python setup in .spacemacs: (python :variables python-backend 'anaconda) I also have the following in my user-config: (setq python-shell-...
0
votes
1answer
41 views

Package needs to be reinstalled every time spacemacs is started

I install a theme using M-x package-install [return] doom-themes. And it installs the themes and I use the themes. However, when I close spacemacs and start it again, this package is gone and needs to ...
0
votes
1answer
46 views

Spacemacs, using a package not found in melpa

I want to use the package ox-ipynb in spacemacs. I tried adding under dotspacemacs-additional-packages, but I guess since it's not on melpa, spacemacs couldn't find it. I've also tried downloading ...
0
votes
1answer
50 views

How to match a single ')' with replace-regex?

I want to replace a list in the form of 1) 2) 3) 4) with * * * I've tried using the regex [0-9]*\), but it gives Invalid regexp: "Unmatched ) or \\)" and [0-9]*\\) replaces 0 matches. in ...
2
votes
0answers
147 views

Jupyter-like setup with org-babel in spacemacs

I've been trying to switch my data-analysis workflow from Jupyter lab/notebook to org-mode + org-babel for quite a while. I'm looking for an emacs setup that will provide all the functionalities of ...
0
votes
1answer
26 views

Is there some way to do `bufdo` in spacemacs?

I am very used to using bufdo from vim to perform an action across all buffers. I can do things like :bufdo %s/\( *\), top=/\1, blockTop=/ to do a search an replace over multiple buffers or :bufdo w ...
0
votes
1answer
22 views

terraform tfls server always asks if restart when edit a .tf file in spacemacs

When I use terraform layer with spacemacs, after operate a .tf file, at the status bar it always notices the message below: Server tfls:3869 exited with status exit(check corresponding stderr buffer ...
0
votes
0answers
114 views

How to use nvm with spacemacs?

How can I use nvm with spacemacs? I want to be able to access nvm from any shell in spacemacs. I have installed nvm and it works with no problem from the terminal. When I open some shells in ...
0
votes
0answers
47 views

How do I prevent find-file from filling in a file name?

Using spacemacs I usually open new files for editing with C-s C-f (for find-file), since that is recommended by this answer. However I have an issue when the file I wish to open is both new (doesn't ...
0
votes
1answer
130 views

How to edit Apache2 Ubuntu Default Page

Using Emacs, How to open index.html and change the text It works! of the red banner to Hello, School?
1
vote
0answers
125 views

enable flycheck/syntax checker for Java in Spacemacs

I'm a java developer and I'm beginner using spacemacs, I've configured .spacemacs file to java configuration. Many functionalities works well, for example, a class recognition when I'm coding, but in ...
0
votes
0answers
17 views

How to set terraform language pack in spacemacs?

On the document, follow the guide set this item to ~/.spacemacs dotspacemacs-configuration-layers '( ... lsp (terraform :variables terraform-auto-format-on-save t ...
0
votes
0answers
34 views

add sonarlint in spacemacs

I'm beginner in spacemacs (and emacs) and I've tried to install sonarlint. I've found a way to install in emacs, this https://github.com/emacs-lsp/lsp-sonarlint, but, how can I install this in ...
1
vote
1answer
278 views

How can I stop my scrollbar "bouncing" into and out of existence

I just installed Spacemacs on a new Mac and am getting some weird behavior—the scroll bar appears when I scroll (making the window wider), then disappears when I stop scrolling. This doesn't happen on ...
0
votes
0answers
68 views

Unable to install pdf-tools on spacemacs

Running Spacemacs 0.300 on Emacs 27.2. When I try installing pdf-tools by adding pdf-tools to dotspacemacs-configuration-layers, it produces an error: * Testing settings in dotspacemacs/layers [[file:/...
0
votes
1answer
25 views

Close only code folds using evil

How do I close all code folds (but not comments) with evil's code folding? For now I'm using evil-close-folds and evil-open-folds, but it closes all folds, including comments. I'm using spacemacs 0....
1
vote
1answer
28 views

How to change #+begin_comment .... #+end_comment background and text color?

When I have this code: #+begin_comment So this is my comment's body text. I want it to have these features: 1. text color will be yellow 2. background color will be blue 3. text will be cursive #+...
0
votes
1answer
119 views

Org Mode export bullets instead of numbers

When exporting an Org-mode buffer to Text or ODT, I'm getting the following: 1. Lorem 1.1. Ipsum 1.1.1. Dolor 1.1.2. Sit I'd like to change it to a bulleted list rather than numbered (closer to ...
1
vote
1answer
601 views

Error enabling Flyspell mode (Error: No word lists can be found for the language "en_US")

I recently saw my emacs (GNU Emacs 27.1 running on Arch Linux) throw this error: Error enabling Flyspell mode: (Error: No word lists can be found for the language "en_US".) when I visited a ...
0
votes
0answers
20 views

Using web-mode "localized" in babel

I am using org-mode babel to take notes. I am using source code blocks to write down examples of html interspersed with javascript. I take the notes in a subtree within a pretty big document. Now, ...

1
2 3 4 5
16