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
5
votes
2 answers
Make org agenda full screen
When I open todo list or agenda, it opens in a mini-buffer (takes up half of my screen). How do I change my dotfile so that when I call org-agenda it takes up the entire screen?

THIS USER NEEDS HELP
- 3,136
- 4
- 30
- 55
5
votes
2 answers
Randomize TODO list?
I have noticed that when I look at the TODO list, I usually only get things done from the top half of the portion since I read from top to bottom, and by the time I get to half way to the bottom, I find a TODO that could be done. So I was wondering,…

THIS USER NEEDS HELP
- 3,136
- 4
- 30
- 55
5
votes
1 answer
What's the best way to override a default key binding in spacemacs?
I'm using spacemacs: https://github.com/syl20bnr/spacemacs
I've tried both user hook places for overriding cmd-k to be kill-buffer rather than delete-window. However, when I restart, neither works.
(defun dotspacemacs/user-init ()
"Initialization…

justingordon
- 12,553
- 12
- 72
- 116
4
votes
1 answer
Emacs and python-mode automatic indentation
python-mode automatic indentation makes a lot of assumptions, it seems, based on style. How can I configure the way it indents in certain cases, or alternatively, make it indent like vim.
For example, if I have the following function:
def…

synic
- 26,359
- 20
- 111
- 149
4
votes
2 answers
How to install clangd on Mac?
I am trying to use clangd with Spacemacs according to the c-cpp page. I have tried downloading the macOS binary for LLVM and I have followed this and this, but when I run which clangd, it says it cannot be found. I have also run brew install llvm,…

masterBuilderBenny
- 385
- 3
- 14
4
votes
0 answers
How to make autocomplete for javascript in Spacemacs show all matching keywords of the typed case
I have just installed auto-complete layer in spacemacs. I've done as follows:
added the auto-completion layer to dotspacemacs/layers ()
added the javascript layer with the following variables:
javascript-disable-tern-port-files nil
tern-command…

code_dude
- 951
- 2
- 15
- 28
4
votes
0 answers
How to set rjsx mode for every js file in Spacemacs?
I've already tried putting (add-to-list 'auto-mode-alist '("\\.js\\'" . rjsx-mode)) in dotspacemacs/user-config but js files are not opening with rjsx mode.
And yes, i've already tried reloading init.el and fully closing spacemacs.

depaulagu
- 139
- 2
- 7
4
votes
1 answer
How do you define and call a function in Spacemacs?
I've defined a emacs / lisp function within defun dotspacemacs/user-config () like so:
(defun clientdir ()
"docstring"
neotree-dir "~/Projects/Clients"
)
How do I execute it?

Chris Stryczynski
- 30,145
- 48
- 175
- 286
4
votes
1 answer
Org-mode in Spacemacs: with-eval-after-load and additional-packages
Background
Spacemacs documentation recommends that you wrap additional org-mode configurations in (with-eval-after-load 'org [...config...]):
(defun dotspacemacs/user-config ()
(with-eval-after-load 'org
;; here goes your Org config
))
This…

user27636
- 1,070
- 1
- 18
- 26
4
votes
1 answer
Spacemacs - SPC is not working
I just installed Spacemacs on Ubuntu and key SPC it not working. When I press it, Spacemacs shows the message
Buffer is read-only: #
I'm running Ubuntu 16.04 and and Emacs 24.
Should i configure anything else? I'm have been…
user866364
4
votes
4 answers
How to regenerate latex fragments in org-mode?
I have latex fragments in org-mode that were generated with my previous emacs theme and now that I switched my theme, the old latex fragments still have my old background color instead of the new one. How can I clear them and regenerate them…

navark
- 163
- 1
- 1
- 10
4
votes
0 answers
spacemacs does not let me highlight with mouse and (command+c) copy to clipboard
I am using spacemacs with default settings in vim mode, in terminal on macOS Sierra.
In the shell or other terminal applications, I often highlight text with the mouse and then (command+c) copy it to the system clipboard, from which I then…

mherzl
- 5,624
- 6
- 34
- 75
4
votes
1 answer
How can I move file around in spacemacs
I know some ways to rename files using neotree or SPC f f but they involve renaming them.
Is there a way to graphically select them and move them around in some other directories?

Guillaume Geoffrey Attia
- 322
- 2
- 15
4
votes
1 answer
How do I add additional packages in scope for Spacemacs in Nixos?
I'm trying to setup Spacemacs on my Nixos system. I installed Emacs using the nixos.emacs package. One of the spacemacs layers that I'm trying to install requires the command-line program aclocal, but it can't find it on my system.
I believe one…

sid-kap
- 941
- 1
- 10
- 17
4
votes
1 answer
what does it mean `dotspacemacs-configuration-layers' was changed outside of `dotspacemacs/layers'?
My spacemacs is 0.200.3@25.1.1
I got a warning when launching spacemacs every time, how to fix this?
Warnings:
- dotspacemacs-configuration-layers' was changed outside of
dotspacemacs/layers'.

Dean Chen
- 3,800
- 8
- 45
- 70