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
43
votes
4 answers
How easily change font size in spacemacs?
How do change the font size in spacemacs? Do I need to download additional packages such as source code font?
I tried changing the font size in the configuration file, but the font size does not change. I am having trouble installing source code…

linuxfreebird
- 799
- 2
- 8
- 16
40
votes
2 answers
Spacemacs set tab width
I just migrated from VIM to Spacemacs and would like to change the tab width from default (\t?) to only 2 spaces. I found commands like
(setq-default indent-tabs-mode nil)
and
(setq tab-width 4) ; or any other preferred value
(defvaralias…

Catsy
- 1,160
- 1
- 9
- 12
37
votes
2 answers
How can I create a new file with a simple way in spacemacs?
Currently, I know that I can create a new file with the following ways:
c key in Neotree
SPC ' in shell layer, and use the touch xxx command
I am wondering whether there is a simple way (something like SPC f xxx) or not.
Thanks.

user2331095
- 6,577
- 8
- 36
- 56
22
votes
1 answer
Spacemacs Web Mode - Indentation not working as expected
I'm trying to get started using Spacemacs for an Elixir/Phoenix web project.
When editing one of my HTML templates (myfile.html.eex), the indentation displayed in Spacemacs is not as expected.
The HTML content is displayed way over to the right of…

Brandon
- 3,091
- 2
- 34
- 64
21
votes
2 answers
Switch from vim to emacs mode in spacemacs
When I first installed spacemacs it prompted me into deciding which mode I want it to be configured. I chose vim since I was already comfortable with it. But now I want to learn more about emacs shortcuts and keybindings. So I would like to get back…

hadyfarhat
- 391
- 1
- 5
- 17
20
votes
3 answers
How to fix spacemacs importmagic and/or epc not found?
I use spacemacs config to open a python file.
emacs: 25.3.1
spacemacs: 0.300.0
platform: osx
I add python layer in dotspacemacs-configuration-layers,
besides I use miniconda to control my python envs with (setenv "WORKON_HOME" "~/miniconda3/envs")…

guerbai
- 325
- 4
- 11
20
votes
3 answers
how to disable js2-mode syntax checking globally in spacemacs
Since im using eslint, syntax checking from js-mode is redundant to me. so how to turn it off globally instead of toggling on and off?
I configured eslint not to check for semicolons, but js2-mode still checks it. if js2-mode syntax checking cant be…

shangsunset
- 1,585
- 4
- 22
- 38
16
votes
3 answers
Uninstall Spacemacs
I'm trying to install Emacs via Homebrew. Having done this and aliased to my apps folder, I found that when I ran Emacs it came up Spacemacs. I did them remember the system had Spacemacs installed a few years ago. So, I uninstalled Emacs, removed…

rev
- 623
- 1
- 7
- 16
16
votes
1 answer
Spacemacs hybrid line numbers
How do I get hybrid line numbering (relative line numbers, but the current line shows the absolute line number instead of 0) in spacemacs for all files?
I tried setting relative line numbers in user-config but that doesn't seem to be working, and…

Simon
- 9,762
- 15
- 62
- 119
16
votes
2 answers
How do I configure spacemacs for python 3?
I would like to use spacemacs for python development, but I see a syntax error on Python 3 constructs, like print(*(i + 1 for i in range(n)) or async def foo():. Adding a shebang to my file (#!/usr/bin/python3 or #!/usr/bin/env python3) does not…

kai
- 1,970
- 2
- 22
- 30
14
votes
4 answers
Can't start emacs (spacemacs) anymore: Invalid read syntax: Invalid byte-code object
Can someone tell me how I can recover from this error? I runs emacs 28.0.50 with spacemacs 0.300.0@28.0.50 on Ubuntu 19.10.
Here is the backtrace from emacs --debug-init
Debugger entered--Lisp error: (invalid-read-syntax "Invalid byte-code object")
…

chriad
- 1,392
- 15
- 22
14
votes
1 answer
How to do a project-wide find and replace in Spacemacs?
I'm trying to do a project-wide find/replace in Spacemacs. I tried this:
SPC s a p
Type the text I want to replace.
C-c C-e
At this point Spacemacs tells me text is read-only. What am I missing to be able to preform the edit operation?

Alex Miller
- 143
- 1
- 7
14
votes
1 answer
How to configure spacemacs so that it executes code when you start it?
Foreword
I know the title looks subjective, but I want this question to be a smooth introduction to spacemacs for newcomers not coming from emacs at all (which is my case).
You might wonder why I decided to use spacemacs, which is a highly custom…

Zoé Martin
- 1,887
- 1
- 16
- 28
13
votes
1 answer
Why doesn't emacs have a fringe mode in terminal?
I am a hardcore vim user. With the introduction of evil mode and spacemacs, I am transitioning over to emacs from vim. I often edit my code in a dev server (for reasons that I cannot explain), and I have to run my editor in terminal mode. One thing,…

Senthil Babu
- 1,243
- 2
- 11
- 20
11
votes
2 answers
How to integrate flowtype with spacemacs
I'm spacemacs fan. I want to use Facebook Flow but I have not idea how to integrate it with spacemacs. I'm using flow with nuclide but I need to relearn everything to be productive. There is this script on flow repository to use it with emacs. I…

AA.
- 4,496
- 31
- 35