Spacemacs is a text editor. An advanced Kit focused on Evil: The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
Questions tagged [spacemacs]
336 questions
9
votes
2 answers
spacemacs: how to define a new key-binding with a leading [SPC]?
I would like to bind a set of additional keys for spacemacs. The following statement is used:
(global-set-key (kbd "SPC-1") '(fzf/start "01-personal"))
yet it does not work that Emacs complains that SPC is not a prefix key. Just wonder how…

Gang Liang
- 793
- 1
- 9
- 19
9
votes
1 answer
In spacemacs, how can I enable editorconfig-mode by default ?
Currently I use editorconfig in my projects, and every time I open emacs/spacemacs, I need to press M-x and enable editorconfig-mode manually.
How can I enable editorconfig-mode by default ?

user2331095
- 6,577
- 8
- 36
- 56
9
votes
3 answers
In Spacemacs, how do I insert a newline, without entering insert mode?
In Vim, you can bind Enter key to insert a newline without entering insert mode. how can you do this in Spacemacs.
Or how to remap keys in general in Spacemacs?

shangsunset
- 1,585
- 4
- 22
- 38
9
votes
2 answers
How to turn off company mode in org mode?
I'm using spacemacs and tried to turn off company mode in org mode while keeping it in other major modes. I've tried the following:
(global-company-mode '(not org-mode))
but it's not working.

Michael Guo
- 93
- 1
- 5
8
votes
1 answer
In spacemacs, search occurances of pattern A only in files with name matching pattern B
In spacemacs, I often search for patterns within my project via SPC-* or SPC-/. These commands allow me to input a pattern to search for, such as the name of a function I would like to jump to the definition of.
Sometimes, I would like to restrict…

mherzl
- 5,624
- 6
- 34
- 75
8
votes
1 answer
How to fix: Error (use-package): org-projectile :config: Symbol’s function definition is void: org-projectile:per-repo
Running spacemacs 0.200.9@25.1.1
Everytime I start spacemacs I get the following error and not sure how to resolve it.
Error (use-package): org-projectile :config: Symbol’s function definition is void: org-projectile:per-repo
Tried googling the…

Stryker
- 5,732
- 1
- 57
- 70
8
votes
2 answers
How to exit holy mode and get back to evil mode spacemacs?
I had to get into customize-mode to try something out and I am stuck in holy mode and don't have way to get out of it. Is there a way to get back to evil mode once you have entered holy mode?
M-m t E-h seems to work, but is there are better way?

aks
- 8,796
- 11
- 50
- 78
8
votes
1 answer
How to customise Oh My ZSH within a Spacemacs shell?
Context
I have a nice and beautiful setup on iTerm2 (I'm using a Mac) where the default shell is ZSH and it is properly customized using Oh-my-zsh and the Agnoster-fcamblor Theme.
Issue
As a Spacemacs user, I would like to do as much as possible…

Jonathan Soifer
- 2,715
- 6
- 27
- 50
7
votes
2 answers
In Org-mode how to call code block to evaluate from other org file?
Interesting in OrgMode version 9+
Is there a way to reference and evaluate code block from other org file and to use it's result in main code block in current org file?
Or maybe just to include code block from other org file to current code block…

Dima Fomin
- 1,228
- 1
- 16
- 27
7
votes
4 answers
How can I remove deleted files from emacs-projectile's cache if `projectile-invalidate-cache` doesn't do the trick?
Pretty much what the title says. For whatever reason projectile-invalidate-cache does not remove dead files from projectile's cache, or at least not from the results it presents me. I am using Spacemacs, an extension of Emacs, but I believe this…

Styx_
- 135
- 3
- 9
7
votes
2 answers
How to kill a process within spacemacs
I recently felt the need to work with Spacemacs for my erlang/elixir projects.
(was coding Erlang on eclipse).
Now i'm feeling a bit more comfortable with Spacemacs, i have a question regarding how to deal with processes.
I made a mistake on my code…

Tanc
- 667
- 3
- 6
- 25
7
votes
1 answer
How to set the default mode of file in Spacemacs?
Every time I open a .js file with Spacemacs, the default mode is web-mode. But what I want is react-mode.
Is there any way to achieve this ? Thanks.

user2331095
- 6,577
- 8
- 36
- 56
6
votes
1 answer
How to disable Spacemacs logo from splash screen?
I want to remove the image because it unnecessarily takes space. I've tried fancy-splash-image nil but it didn't work.
What should I place in my .spacemacs (or wherever) and in which part.

user4367814
- 551
- 1
- 6
- 15
6
votes
1 answer
After doing ', g g' (spacemacs/jump-to-definition) how do I get back?
I did
, g g
to jump to the definition of same symbol under the point. Now I want
to return to my previous file/position.
Is there a binding for that?
What is the binding in a default spacemacs installation?

typetetris
- 4,586
- 16
- 31
6
votes
2 answers
How how to change spacemacs from helm to ivy?
During the initial setup spacemacs asked, "What type of completion framework do you want?" and I selected "helm".
Now I want to use ivy instead.
How to change spacemacs from helm to ivy?
There are 16 occurrences of "helm" in my ~/.spacemacs file.
I…

wolfv
- 971
- 12
- 20