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.

Filter by
Sorted by
Tagged with
1
vote
1answer
264 views

Trouble with ocp-indent in spacemacs on mac

I'm having trouble setting up spacemacs for ocaml on my mac. Specifically, spacemacs can't seem to find ocp-indent. Whenever I enter a new line, I get the following message: "Searching for program: No ...
2
votes
1answer
1k views

How can I configure company-mode to only display candidates after an explicit keypress?

I've configured the Java layer for my Spacemacs setup and am getting completion candidates using company-mode and the Eclim backend. However, everytime company-complete is triggered, I experience a ...
1
vote
0answers
1k views

Python inline plotting

I'd like to start using Emacs (Spacemacs) for my python work, however, a lot of what I do requires me to interact with the data in the IPython REPL, plot inline graphs, etc. For example, I might have ...
6
votes
1answer
563 views

Spacemacs : insert single character in normal mode

I am using Spacemacs in Vim mode, and I would like to be able to insert a single character while remaining in normal mode, as described here for Vim. For example, typing SPC i k in normal mode would ...
2
votes
1answer
217 views

Insert continuation of a string to a new line (emacs/spacemacs)

I often have long strings I want to break into new lines in various languages. E.g. in python x = ("The quick brown fox jumps over the lazy dog") /\ cursor here becomes x = ...
3
votes
0answers
174 views

csv-mode is very slow

Just about any buffer with csv-mode enabled gets very slow/unresponsive, regardless of how big the file is. It takes up to half a second to jump to the next line/character. Any idea why that is? I ...
2
votes
2answers
2k views

Fish shell looks weird in spacemacs

Any other shell besides eshell and shell in Spacemacs with Emacs v25.1.1 (GUI version) looks like this: To compare, the terminal in iTerm looks like this: The font that I use in my terminal is ...
3
votes
2answers
611 views

Undo region spacemacs

I really appreciate the undo in region command in standard emacs, where you can just mark a region and only changes made in that region are undone. This doesn't seem to work in the default spacemacs ...
3
votes
0answers
765 views

Using Windows bash as the shell

I'm trying get Spacemacs (i.e., Emacs) to use the Windows subsystem for Linux bash shell as the shell. I've added (setq explicit-shell-file-name "c:/Windows/System32/bash.exe") to my .spacemacs ...
5
votes
1answer
6k views

Spacemacs use anaconda environment

I have anaconda environments for python2 and python3 as I have code written in the different versions In spacemacs (with python layer installed), when I open ipython (SPC m s i) it starts with my ...
2
votes
1answer
2k views

How can the start up log of Spacemac be viewed?

When I start Spacemacs there is a message about some faults on my setup which scroll past quickly before I can view them. Is there some file or some buffer that holds them for review?
1
vote
0answers
193 views

Changing default layout to not include all buffers

The default layout is fairly useless (for something effectively bound to the easily accessible '1' key all the time) due to the sheer number of buffers it can 'see'. Is there any way to either:- ...
1
vote
1answer
541 views

Where would be the most appropriate directory to put my own Emacs-lisp files in Spacemacs?

I want to create an Emacs-lisp file to store my org-mode configuration. This file will be loaded by dotspacemacs/user-config. My question is where would it be the standard directory (if any) where I ...
2
votes
1answer
905 views

Projectile: show project open buffers when switching project

I have a very large project and generally I work on multiple related projects simultaneously. While switching project I have to type full name everytime (multiple similar named files under different ...
3
votes
2answers
663 views

Spacemacs modeline color mismatch

Problems with my modeline separator aren't quite the "Ugly separators" problem as seen here. But the color is slightly off, as in this screenshot. I can solve it with this piece of code. But then ...
3
votes
1answer
1k views

Howto to change color of cursor and highlighted window in spacemacs

In particular, I have a blue cursor (and highlighted window), which seems to correspond with spacemacs' Emacs mode. But I'd like to put that color to yellow or something else. Don't see that in the "...
2
votes
1answer
8k views

Spacemacs setup on mac

Long time vim user, finally decided to try emacs for orgmode. As usual, lost in configuration and found out about spacemacs. Excited to try, unfortunately after all the attempts I still can't get ...
0
votes
3answers
2k views

how do I customize spacemacs default buffer

I would like to make some change on spacemacs's default buffer *spacemacs*,like move recently files and projects to left and show my TODO list in the right or bottom from another file
2
votes
1answer
223 views

DOS line endings in Cygwin break emacs

I started using Spacemacs with GUI Emacs on Windows and all was fine apart from using Tramp with plink so I decided to use Cygwin with emacs-32 (and Spacemacs) because there is proper ssh there. Now ...
1
vote
0answers
155 views

Open helm-dash in emacs in a new window

When I'm editing my code, I'd like to open the documentation via helm-dash-at-point in a new split besides my source code. But it only opens in the same window. I don't really care if it uses eww or ...
7
votes
1answer
139 views

Can emacs auto-save backtrace?

Trying to debug a problem with debug-on-error. Backtrace appears for a second and then some other parts of the system make it disappear and emacs becomes dysfunctional so I can never read it. Is ...
0
votes
1answer
2k views

how to add custom theme to spacemacs?

I'd like to add this solarized theme to my spacemacs. How do I do it? So far I added (load-theme 'solarized t) to my .spacemacs and I included it to my themes list. what I don't know is, where to put ...
1
vote
1answer
359 views

Spacemacs Python Layer Invalid version syntax: '[?1034h4.0.0'

When I attempt to start Spacemacs with the Python layer enabled, I see a warning: Error (use-package): python :init: Invalid version syntax: '[?1034h4.0.0' Restarting emacs using --debug-init shows: ...
2
votes
1answer
1k views

enable nyan-mode spacemacs?

I was reading through: Spacemacs Colors Layer because I want to get nyan-mode working using the hot keys SPC t m n as shown on Github. I was able to do this part: To use this configuration layer, ...
0
votes
0answers
617 views

Change the writing permissions of emacs

I am currently trying to install spacemacs on my Arch Linux. I am following the standard installation instructions that have been put up here. Now after cloning the .emacs.d from the spacemacs ...
1
vote
1answer
81 views

Cannot find @Org Custom Layout in spacemacs

I have recently started using spacemacs. After sifting through their documentation I found that spacemacs ships with a custom layout for org-mode. However, I cannot seem to find the layout by ...
0
votes
1answer
837 views

spacemacs themes auto deleted?

using meta + x then package install I tried installing a theme. I am able to apply it and it looks great... problem is if i restart spacemacs the following happens: Found 1 orphan package(s) to ...
0
votes
1answer
265 views

Can't open eshell in spacemacs

I am new to emacs/spacemacs and I saw some really cool videos and read through some articles and I really want to get it working. when I hit SPC + ' it says "SPC ' is undefined" Anyone know how to ...
1
vote
1answer
1k views

Cannot install spacemacs

I am currently trying to install spacemacs on my Arch Linux. I am following the standard installation instructions that have been put up here. Now, I am at the part where I need to launch emacs (...
1
vote
1answer
418 views

Startup script for term-mode

In the documentation for shell-mode: Emacs sends the new shell the contents of the file ~/.emacs_shellname as input, if it exists, where shellname is the name of the file that the shell was ...
2
votes
2answers
2k views

Symbol's function definition is void: insert-string

;; Specify the startup banner. Default value is `official', it displays ;; the official spacemacs logo. An integer value is the index of text ;; banner, `random' chooses a random text banner in `core/...
1
vote
1answer
1k views

Spacemacs - start popup terminal window in evil-normal-state

I've added these keybinding configuration in my Spacemacs dot file, so that I can toggle the terminal by press the \ key. ;; Keybindings (define-key evil-normal-state-map (kbd "\\") 'spacemacs/...
0
votes
2answers
1k views

How to stop a minor mode from auto-loading in Spacemacs?

The smartparens minor mode is quite annoying to me, so I want to have it disabled on default. However, I don't want to uninstall it, in case I need it someday. Can I disable a minor mode without ...
2
votes
1answer
465 views

Executing programs the efficient way with Spacemacs

I'm a Vim user trying to learn Spacemacs. In Vim, I execute a Scheme program by typing :mit-scheme < xxx.scm. After the program exits, I can continue editing simply by press Enter. However, doing ...
2
votes
1answer
860 views

How do I change the mode indicators for evil-mode in the spaceline mode line package?

The mode line shows <N> or <I> or <V> and I would like it to show NORMAL, INSERT, VISUAL, etc. I'm new to Emacs so my Elisp skills are non-existent.
6
votes
1answer
2k views

how do I do case sensitive searches using evil/spacemacs?

I'm trying to perform a search and replace in spacemacs but I need it to be case sensitive when by default it appears to be case insensitive. So I try to do :set noignorecase but then I have this ...
1
vote
1answer
789 views

How to turn on line numbering on modes that doesn't have by default?

I have spacemacs and when I edit a .py or .c file line numbering is turned on no problem, however when I open a .R file it isn't there (the mode is named ESS[S] to be precise). How can I turn it on ...
0
votes
2answers
3k views

How to get Exec-path-from-shell working in Spacemacs

I'm using the latest version of emacs, with and without a custom MacOS build (homebrew-emacs-plus). So, I'm trying to use spacemacs on MacOS, and I can't get it to pick up the $PATH on my host system. ...
2
votes
2answers
4k views

How to configure spacemacs to work correctly with haskell Stack?

The Haskell stack build doesn't install ghc to the system, only for itself, and using spacemacs without a systemwide configured ghc have been a painful experience (to me). My question is, there is a ...
1
vote
0answers
204 views

Spacemacs: Code evaluation and security issue

I want to turn of the security confirmation for the R language, as described here: http://orgmode.org/manual/Code-evaluation-security.html So I tried putting the following code in the dotspacemacs/...
2
votes
0answers
179 views

Updated from 24.5.1 to 25.1, not respecting default app scaling

I use surface book with 3000x2000 native resolution scaled 200%. I just reinstalled (spac)emacs with 25.1 version and a new emacs frame will start the right size then immediately halve in size as it ...
1
vote
0answers
475 views

prog-mode-hook not run for C++ mode

I am trying to turn on linum-mode and fci-mode for C++ editing. Here is my configuration: ;; If non nil line numbers are turned on in all `prog-mode' and `text-mode' ;; derivatives. If set to `...
1
vote
0answers
993 views

spacemacs, web-mode, cannot indent

I am using spacemacs. When writing .html file, it shows that it is in web-mode. I want to indent, press TAB, but nothing happened. So I can only use SPC to indent. I added (setq web-mode-markup-...
1
vote
1answer
2k views

How to assign TAB to indentation and to yasnippet expand key

i'm trying to have the key TAB to: Indent my code (like in any other text editor) Trigger Yasnippet I have theses lines in my config: (global-set-key (kbd "TAB") 'yas-expand) (global-set-key (kbd "...
1
vote
0answers
306 views

Adding package from non-standard ELPA Repository to Layer

So I have a package I would like to add from an ELPA repository different than MELPA. The repository is called "billpiel" and the link is http://billpiel.com/emacs-packages/. I would like to add the ...
2
votes
1answer
554 views

how to change the font of only the minor-modes list in the mode line?

My main font doesn't render the minor modes glyphs correctly, they are smaller, so I wanted to force the glyphs of the minor modes list to use the default source code pro font which renders them at ...
1
vote
1answer
2k views

Problems Creating Basic Spacemacs Layer

I'm trying to create a basic spacemacs layer. But there's an error loading it, thus its constituent packages. Checked this SO question, but it doesn't seem to apply. Any idea of I'm missing? I'm sure ...
0
votes
1answer
887 views

How to quit key sequence using evil / spacemacs?

I'm using spacemacs in evil mode and I'd like to remap my escape key to the right arrow key (It's easily accessible for me due to a global remapping which is useful in another application). I had most ...
1
vote
2answers
5k views

Hunspell flyspell and Emacs on windows

I know this has been asked many times, but the answers don't seem to do it for me. How do you get Flyspell to work with hunspell? After installing the hunspell executables via mingw-64-hunspell ...
5
votes
1answer
4k views

How do I use Mac/OSX key bindings with Spacemacs?

I want to use Mac CMD+C for copy and CMD+V for paste in Spacemacs but I think it redefined CMD to Meta. How do I change this mapping behavior? I found mac-key-mode but that package seems old and I ...

1
9 10
11
12 13
15