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.

Spacemacs is an Emacs layer focused on modal editing via Evil mode, mnemonics and easy configuration, and the space bar.

It can be installed by cloning a GitHub repository, and more extensive documentation is on GitHub as well.

819 questions
22
votes
4 answers

How to change indent size for typescript layer in Spacemacs?

I have a tsfmt.json file with { "indentSize": 2, "tabSize": 2 } which does get picked up appropriately by tide when running M-x tide-format. But when I start a new line by pressing RET or 'o', it gets indented 4 spaces. How do I change…
agentofuser
  • 501
  • 3
  • 12
19
votes
3 answers

How install a custom theme to spacemacs

It's possible to install a new theme in spacemacs? How should I do this? I'm trying to install some theme from http://themegallery.robdor.com/
Mateus Vahl
  • 541
  • 1
  • 4
  • 8
18
votes
2 answers

How do I move a buffer in spacemacs to a different window / frame

Is there any keybinding or function to move an open buffer to a different window or a different frame in spacemacs?
bombadil
  • 547
  • 1
  • 4
  • 13
8
votes
2 answers

Spacemacs disable :q

I'm moving from vim to spacemacs, and the only little frustration I have at the moment is that in vim my workflow tends to involve quitting vim a lot (with :q). I find myself continually exiting spacemacs by mistake - and having to wait for it to…
Mark
  • 440
  • 4
  • 9
7
votes
2 answers

How do I specify a different folder for .spacemacs file?

I want to put my .spacemacs into Github, so I cloned it to a local directory. How to let Emacs use the .spacemacs in that directory instead of from the default ~/.spacemacs?
Daniel Wu
  • 1,751
  • 2
  • 17
  • 26
6
votes
2 answers

Spacemacs: Toggle vim/emacs mode globally

When using Spacemacs on vim mode, you can toggle between Emacs/Vim modes with Ctrl-Z. This works per buffer, is there a way to do this globally so when you switch to a mode, every buffer you open/visit after that keeps the mode you just switched to?
Fernando Briano
  • 1,955
  • 2
  • 15
  • 13
5
votes
2 answers

How do I hit the equivalent of `C-u` (of normal emacs) in Spacemacs?

According to the "Evilified modes" documentation [1], C-u gets moved to C-U, but when I try to hit that (Ctrl+Shift+u), my cursor still gets moved one page up, instead of starting a new long command. [1] -…
loxs
  • 153
  • 5
5
votes
2 answers

Howto include a local theme in spacemacs

I have a local theme, firebelly, that I wish to use in my local Spacemacs config. I've tried putting this into a custom layer. ~/.spacemacs.d/layers ├── firebelly │   ├── local │   │   └── firebelly │   │   ├── firebelly-theme.el │   │   ├──…
Nutritioustim
  • 195
  • 1
  • 13
5
votes
1 answer

Neotree ignore list?

Like in NERDTREE for vim, is there a way to list certain file types to be ignored (not displayed) by neotree ? for instance: *.cs.meta
Running Turtle
  • 467
  • 1
  • 4
  • 7
4
votes
1 answer

Why did the proced of Emacs not show the process on my win10 system?

My Emacs version is 26.1. The system is Microsoft Windows 10. When I run M-x proced, the buffer does not list the proced used on the current system. What is this situation?
4
votes
1 answer

Why do packages remain in `package-selected-packages`

I'm using Spacemacs, and I'm adding things to my dotspacemacs-configuration-layers. I can see it is adding tons of packages to package-selected-packages. If I comment out 1 or 2 layers (that I tested and don't want), when I reboot Emacs, I see it's…
Tallboy
  • 201
  • 1
  • 7
4
votes
2 answers

What is this mode and how can I quit it?

Through some key combinations somehow I am trapped in this mode: Orange highlight appears on the left hand side and a orange cursor is activated. It does not look like it is selecting anything. I tried CTRL-g but I cannot get out of this mode. My…
Anthony Kong
  • 485
  • 3
  • 17
4
votes
1 answer

Change Spacemacs default font except minibuffer?

I'd like to experiment with coding in variable-width fonts, but setting the default font will also set the default font for the minibuffer, which breaks Spacemacs' helpful menu system as it uses spaces to align columns of options (it is the…
cdegroot
  • 141
  • 2
4
votes
3 answers

Why is this custom spacemacs major mode keybinding not working?

In .spacemacs I am trying to define a few custom, major mode mappings, that can be accesed using SPC m. This is working fine for org-mode: (evil-leader/set-key-for-mode 'org-mode "l" 'org-insert-link) but when I define it for a different mode it…
Dionysis
  • 328
  • 3
  • 11
4
votes
1 answer

spacemacs SPC - expand list of hints

I've been trying out spacemacs for a while and it looks pretty good. I've got a problem, since I don't remember all the different commands after you press SPC, i keep having to look them up. When I do press SPC, i only get the following options.…
1
2 3 4 5 6