Questions tagged [spacemacs]

Spacemacs is a text editor. An advanced Kit focused on Evil: The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!

336 questions
4
votes
1 answer

Spacemacs auto-complete

Disclaimer: I'm quite new to spacemacs and emacs so I'm probably missing something very obvious. Whenever I attempt to use auto-complete in a javascript file (with js2-mode), I get the following messages: Error running timer `ac-update-greedy':…
Carolyn Saunders
  • 296
  • 2
  • 7
  • 15
4
votes
1 answer

autopep8 reformat a region in emacs/spacemacs

I'm a recent convert from vim to emacs (spacemacs). Spacemacs comes with yapf as the standard code reformatter tool for python. I find autopep8 to work better on python code when the code is broken. I can't figure out how to make autopep8…
Meitham
  • 9,178
  • 5
  • 34
  • 45
3
votes
0 answers

Copying/yanking to the system clipboard in spacemacs (Ubuntu)

I cannot seem to figure out how to copy text from an open emacs file in the terminal to my system clipboard (e.g., to copy into an email). I've read a number of other questions and have the following in my dotspacemacs/user-config() function: (setq…
Jeremy
  • 1,960
  • 4
  • 21
  • 42
3
votes
1 answer

How to map SPC-b-b or SPC-p-b to an umlaut like ä,ö,ü

I'd like to shortcut some very often used keystroke combinations in spacemacs to my umlauts (as they are unused otherwise). I mapped all my umlauts in vim easily, so I thought, this should be easy in spacemacs, too. I tried to define …
hanfried
  • 31
  • 1
3
votes
1 answer

How to add a custom keybindings to a specified layer of Spacemacs?

For example, I want to bind M . to godef-jump, how can I do this for only the go layer?
handora
  • 559
  • 5
  • 14
3
votes
0 answers

ES6 in Skewer-repl mode of Spacemacs

I'm pretty sure that I started skewer mode and run repl properly. But it seems like it can not execute ES6 javascript. Is it just because skewer doesn't support ES6 or there is a setting I missed? If there is an alternative way to use ES6 in…
Peter
  • 301
  • 4
  • 17
3
votes
0 answers

lsp mode for dart support on spacemacs

I want to setup dart support on spacemacs, android studio takes up too much resource and I already have spacemacs keybindings on muscle memory. I have had a look at Averrins's implementation which is unfortunately deprecated and there is a proposal…
Sigu Magwa
  • 546
  • 5
  • 18
3
votes
2 answers

How to configure org-mode in spacemacs

I did not know where to ask that question, so I am asking here. I have trouble onfiguring org-mode (specficly org capture) in spacemacs. In my .spacemacs file (in the fucntion dotspacemacs/user-init) I have added the following code : (setq…
sted
  • 83
  • 9
3
votes
0 answers

How can i use cquery with spacemacs

Is there a canonical/robust way to use cquery with spacemacs? I recently swiched from vim to spacemacs and am not yet very familiar with emacs/spacemacs configuration/customization. I have used cquery with vim before. My projects have a…
xophos
  • 366
  • 4
  • 19
3
votes
1 answer

How to install flycheck in spacemacs?

I am attempting to use flycheck with my spacemacs setup. The spacemacs documentation, under "12.4.0.6 Minor Modes" lists flycheck as a mode which can be toggled with SPC t s. However, no such option is present in my spacemacs setup. Pressing SPC t…
mherzl
  • 5,624
  • 6
  • 34
  • 75
3
votes
1 answer

Copy-pasting in Spacemacs from within tmux in an ssh session

My current setup consists of an OS X host machine in which I run iTerm. From inside iTerm I ssh into a second machine in which I do all the development. In there I run tmux, and inside tmux I run Spacemacs. The experience is quite smooth with the…
Jesuspc
  • 1,664
  • 10
  • 25
3
votes
2 answers

Error while installation of spacemacs

I am facing the following error while trying to install spacemacs. I am presently on ubuntu 17.04. Warning (initialization): An error occurred while loading '/home/User/.emacs.d/init.el' File error: Searching for program, Is a directory, Here is…
3
votes
1 answer

Spacemacs custom color

I've recently switched to Spacemacs, and I'm trying to incorporate my own custom color theme. Normally, I do something like this. (setq-default dotspacemacs-themes '(firebelly)) ;; additionally use with spacemacs (use-package firebelly-theme …
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
3
votes
1 answer

Save layout shell/terminal state between sessions

So any shell/terminal buffer turns into a text or scratch between sessions (if I close and open spacemacs again) I'm doing TDD and it's quite convenient to have mocha running tests in a vsplit window on the side of a workspace. What would be the…
Daniel Khoroshko
  • 2,623
  • 15
  • 26
3
votes
1 answer

spacemacs gui lagging on close while saving clipboard

When closing spacemacs with SPC q s or SPC q q. Often the emacs GUI will display the message "Saving Clipboard to X Clipboard Manager". Then it will not close. Interestingly, this does not occur when using terminal emacs emacs -nw. The clipboard on…
Piglet
  • 73
  • 2
  • 7