Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

0
votes
0answers
5 views

Emacs freezes when opening inferior Python in TRAMP

I am using Spacemacs. If I try to open a Python REPL when editing a remote file (/ssh:hostname:/path/to/file/), Emacs freezes and I have to force-close the application. Does anyone have advice on ...
0
votes
2answers
23 views

How to unhighlight after searching in evil mode?

I have a text file opened in Spacemacs with evil mode on. When I search for a term by means of /term [Enter] then found "term"s are highlighed. How do I remove that highlighting? I tried / [Enter] - ...
0
votes
1answer
21 views

Set intero as default in spacemacs

How do I set intero-mode as default for my Haskell buffers instead of haskell-mode?
0
votes
0answers
13 views

Ignore .folder inside projectile project

In spacemacs, I want SPC p f to ignore one directory in the files it suggests. I followed the Projectile docs for ignoring files. I added a line to both my ~/.emacs.d/.projectile file and the ....
0
votes
1answer
49 views

Where is emacs powershell getting this PATH variable from?

When I execute the command $env:path to get the path variable in the powershell mode in spacemacs I get the following: C:\Program Files (x86)\Common Files\Oracle\Java\javapath; C:\Windows\system32; C:...
0
votes
1answer
22 views

C-x and M-x remapped to SPC and SPC-SPC

What would be the best way to configure Emacs to handle the above keybindings for vanilla Emacs? Specifically, I'd like to have SPC work as C-x and SPC SPC work as M-x. I love Spacemacs for the ...
1
vote
0answers
15 views

Org Mode Python block evaluation cannot print result in the shell session

I have a python source block in org mode as below #+BEGIN_SRC python :session print('hello world') #+END_SRC and I have a Python shell already run, so when i press C-c C-c, the code gets ...
0
votes
0answers
17 views

Unable to use python provided via pyvenv

Trying to configure pyvenv in Spacemacs to load the virtualenvs created in Conda without any luck so far. Current set-up: pyvenv package loaded in Spacemacs. The following in my .spacemacs file: (...
2
votes
1answer
37 views

proper file for spacemacs configuration: init.el vs. .spacemacs

I'm setting some personal preferences to my spacemacs. Some of them are in init.el file, some other in .spacemacs file. If I recall correctly that's because some of the settings did not work other ...
0
votes
0answers
29 views

Scroll bar in spacemacs?

How can I get a scroll bar in spacemacs? Simply doing this doesn't seem to have any effect for me: (scroll-bar-mode t) In the past, I think I recall enabling it and it having some kind of odd ...
0
votes
0answers
18 views

How to avoid entering visual mode when clicking a link while using evil?

Emacs newbie here using spacemacs. How to avoid entering visual mode when clicking a link while using evil? This is particularly problematic in org-mode.
0
votes
1answer
21 views

how to add a default-on option of magit log

Since the 'log --graph' is slow in the repo with long history, I wanna add '--since' option for it. I tried to add the following lines in my '.spacemacs' file. (magit-define-popup-option 'magit-log-...
2
votes
1answer
27 views

How to replace an object with selection?

In Evil mode, is it possible to prevent change and deletion commands from putting the replaced object into the selection (system clipboard)? I would like yanking to still do so. I'd like to be able ...
0
votes
0answers
22 views

Disable auto-completion for org-mode in spacemacs

I want to disable auto-completion layer in org-mode buffers. To do so, I added into my dotspacemacs/user-config this line: (add-hook 'org-mode-hook #'spacemacs/toggle-auto-completion-off) But it ...
0
votes
0answers
60 views

Indentation Error when running Ipython shell (emacs/spacemacs, Windows)

I am a relatively new to emacs/spacemacs and my knowledge is quite basic, I have spacemacs set up with the python layer and have the indentation settings as follows: python-indent-offset is set to 4 ...
3
votes
1answer
58 views

spacemacs key bindings in plain vanilla evil emacs

As the title suggests, I would like to use spacemacs like keybindings in plain vanilla evil emacs. The spacemacs key bindings are very intuitive. But the package is too heavy for my low-end laptop. ...
1
vote
1answer
31 views

Make soft word wrap not cut words in the middle of the line?

Currently, in text files, Emacs is wrapping text (soft wrap), but if a word is at the end of the line, then it puts half of the word at the end of the line and the second half at the beginning of the ...
2
votes
2answers
86 views

How can I open magit-status in a new frame?

How can I open magit-status in a new frame? I've tried to write a custom function for this but it has some issues as described below. (spacemacs/set-leader-keys "gs" (lambda () (interactive) ...
2
votes
1answer
36 views

Making custom shell command function have popup buffer showing std-out

I'm customizing spacemacs for my workflow. I'm new to elisp and can't figure out how to do this after looking at other functions in .el files and other posts. Basically, I wrote an elisp function ...
1
vote
0answers
46 views

Slowness opening and moving around within large files

I'm running spacemacs 0.200.13 on emacs 25.3.1 from a macOS 10.12 machine. In some scenarios, things feel very sluggish. They get worse as a dozen buffers or so are opened during the day. From the ...
0
votes
2answers
15 views

Can't close Robe console split in spacemacs

I run SPC m s i to start Robe (Ruby code inspection tool) in spacemacs, and it opens a split with a REPL. When I'm done issuing commands I can't close the split. SPC is not usable because the REPL ...
0
votes
1answer
25 views

How to get vanilla find-file in Spacemacs

Even when i M-x find-file I get the Helm stuff. I usally also want that, it's just with some Tramp stuff I think there are Problems. How to get the plain old find-files from vanilla emacs in ...
0
votes
0answers
65 views

What features differentiate Spacemacs from other editors and IDEs in terms that someone unfamiliar with both Vim and Emacs can understand?

I am in the position of onboarding junior developers to Spacemacs but I am unable to find a detailed, canonical description of Spacemacs that is geared toward beginners. Specifically, I don't find ...
2
votes
1answer
29 views

Emacs doesn't seem to recognize .emacs.d on the latest Windows Insider Preview

I was able to use Emacs normally on Windows until the latest update to Build 17711.rs_prerelease.180703-1539. Now, whenever I start Emacs, it just shows the default welcome page, even though .emacs.d ...
0
votes
0answers
26 views

How to load an Idris file that depends on a package?

Working in Spacemacs (on Linux Mint, if that is relevant), using the Idris layer, one of my major mode commands is SPC m-r (Vim-style keybindings): idris-load-file. This causes Spacemacs to load up an ...
3
votes
1answer
70 views

Is there a way to use spacemacs with emacs 24.3 version?

I am working in a cluster environment, where the default emacs version is 24.3. Unfortunately spacemacs support only from >24.4. Administrators refuse to update the version. They asked me install my ...
2
votes
1answer
39 views

Halting Clojure debugger after pressing the Continue Command

I use Emacs with Cider to debug Clojure Code. After setting a breakpoint using the default debugging framework, there appears the list of debugging options one might execute shown in this Figure I ...
1
vote
1answer
21 views

Reopen closed window in Spacemacs

How can I reopen a closed window in Spacemacs? Something like Cmd-Shift-t in Chrome. I open a window using SPC w s and delete it with SPC w d, but I don't know how to reopen one that I've closed.
1
vote
1answer
31 views

Call emacs function from terminal and obtain the same behaviour

I have this simple function that opens an external shell (st) in the same directory of the current buffer: (defun external-shell-in-dir () (interactive) (start-process "st" nil "st")) However, ...
0
votes
1answer
50 views

How to disable line wrapping in LaTeX layer?

The LaTeX Layer by default wraps a line after column 85 by inserting a new line while typing and moving the current word to the new line. When the line is a comment, it even automatically inserts the ...
0
votes
0answers
12 views

spacemacs web mode cant expand twice in insert mode

Whenever I expand my html code by tabbing I can't do it again while in insert mode I have go out and in again which is annoying. Is there anyway to fix it?
0
votes
1answer
48 views

Enable .dir-locals.el variables inside just opened buffer

I'm programmtically create a new buffer as a result of shell command (defun jira-ticket-view (&optional jira-ticket) "Open Jira Ticket Inside Emacs" (interactive) (setq jiraURL (get-jira-...
0
votes
1answer
69 views

Emacs is using the wrong SHELL

I'm using emacs 26.1 and spacemacs (emacs-plus from homebrew and spacemacs is from the develop branch). I've configured my local shell to use ZSH from homebrew as well (installed to /usr/local/bin/zsh)...
0
votes
1answer
18 views

Trying to make keybinding in spacemacs

I'm trying to bind ",," to eval the topmost S-expression containing the cursor in common lisp layer, from this page I assumed it would be done like so: (spacemacs/set-leader-keys-for-major-mode '...
0
votes
0answers
17 views

GNUS - how to persist “R” (read) state of the email back to gmail?

When I read an email in gnus, the email state changes to read whose symbol is R, The problem is that when I then open gmail on the browser I find that the already read email is still marked as unread. ...
0
votes
0answers
25 views

How can I rebind my keys in Spacemacs to allow moving between windows (splits) with C+hnei?

I'm trying to rebind my keys for navigating between split windows. Here's what I've tried (putting this in (defun dotspacemacs/user-config): (global-unset-key (kbd "C-h")) (global-unset-key (kbd "...
1
vote
1answer
34 views

Spacemacs Evil mode does not have :for?

I tried to use :for num in [1-30] today in my spacemacs evil mode. But it says Unknown command for Are :for and such command an extension to Vi that is not available for Spacemacs Evil?
0
votes
2answers
114 views

Project management in projectile or other, like Sublime Text's projects

Ever since I first started using Emacs (Spacemacs) a few months ago I've been trying to set up a sane multi-project workflow. I got the single project workflow going by having Emacs start up into what ...
1
vote
0answers
94 views

Extremely slow startup on Windows - How to debug?

I have a serious problem with an extremely slow spacemacs startup (emacs-init-time = ~200s). (The server works, but this is so slow I cannot debug some other problems that I am trying to fix) My ...
1
vote
2answers
82 views

Have Ctrl-a increase a number just like in vim

In spacemacs Ctrl-a is being used to move to the beginning of the line. I'm more used to 0 to move to the beginning of the line and $ to the end, which works in spacemacs. Ctrl-a increases numbers in ...
0
votes
0answers
27 views

RefTeX cannot find .bib file or cross references in multifile document

I have a large LaTex project, which I organized into several .tex files and use \input{} in a single file to include the content of the other files. However, when editing this project from spacemacs, ...
1
vote
1answer
102 views

How to set up custom layout for spacemacs?

I want to ask something regarding making my own custom layout for spacemacs. I have read the documentation. They have an example like this: This is the custom layout for ERC buffers. (spacemacs|...
0
votes
1answer
57 views

Using tab as indentation in anaconda-mode with spacemacs

I recently installed spacemacs with the python mode and would like to change the default indentation to be TAB instead of four spaces. What I did is I added (setq-default indent-tabs-mode t tab-width ...
1
vote
1answer
44 views

Spacemacs evil-window key bindings not working?

I have these keybindings in my dotspacemacs/user-config function: ;; Modify evil-mode keybindings from hjkl motion to jkl; ;; Motion mappings (define-key evil-motion-state-map "H" 'evil-window-bottom)...
0
votes
0answers
36 views

Spacemacs visual line navigation not working

Running spacemacs 0.200.13 on emacs 25.2.2 on Kubuntu 18.04. In ~/.spacemacs, there is: (global-visual-line-mode t) (add-hook 'text-mode-hook #'visual-line-mode) So, when I open a text file, I see ...
0
votes
1answer
92 views

Update spacemacs packages from the command line

I'm trying to write a shell function to launch (spac)emacs, update packages, and then restart emacs in daemon mode. I tried this, but it hangs: emacs --daemon && emacsclient -e '(progn (...
0
votes
1answer
96 views

Spacemacs trigger holy mode in major mode

I'm using Spacemacs for clojure development and have gotten used to the vim commands mostly. However, when I start up a Repl I would like to only use holy mode with insert mode. Does anyone know how/...
0
votes
0answers
59 views

Disabling recentf mode?

I try to disable this via (recentf-mode -1) (setq recentf-mode nil) ;; mysteriously switches to t after some time but it keeps automatically turning on after some time and is causing problems for ...
0
votes
0answers
23 views

Spacemacs terminal emulator share history with zsh

In plain vanilla emacs, I can M-x term RET RET. This starts zsh. And it 'shares' history with my non-emacs terminals. So, I can ESC / and search for commands, etc. How do I achieve that for ...
0
votes
0answers
36 views

Migrate my init.el to spacemacs

Running emacs 25.2.2. Currently I am trying out spacemacs, primarily because I found the keybindings more intuitive. I needed some stuff from my init.el to move to .spacemacs before I can start using ...