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
3
votes
0answers
660 views

Smart Tab and newline-and-indent

I have the following customizations in my .spacemacs file (defun dotspacemacs/layers () dotspacemacs-additional-packages '(smart-tabs-mode)) (defun dotspacemacs/user-config () (setq-default ...
1
vote
3answers
2k views

How to get python-x (eval-in-repl) to work?

I'm looking to be able to do the same thing as ESS but for python, ie to be able to have two windows side by side one with python shell and the other with text file and send current line or block ...
0
votes
1answer
219 views

Emacs python can not update imported files?

I am using spacemacs, anaconda-mode. In file main.py, I imported a class from file a.py. Then I pressed C-c C-p to launch an ipython shell, and run main.py, everything is OK. But then I modified the ...
0
votes
1answer
2k views

Spacemacs and org-mode configuration problem

I recently started using Spacemacs. With the default configuration, everithing works fine, but I would like to change a few configurations to org-mode, so i changed the dotspacemacs/user-config ...
1
vote
1answer
423 views

ess R startup warning locale

I am using Emacs 25.1.1 with spacemacs. Everytime I run iESS, I get the warning about locale as, During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed,...
3
votes
3answers
1k views

Dired-like browser for buffers?

I use Spacemacs, and I often use SPC b b to list buffers so that I can kill the buffers I no longer want. Unfortunately, this process takes a while because I have to repeatedly press SPC b b, navigate ...
3
votes
0answers
2k views

emacs as python IDE vs pycharm: spacemacs and code navigation

[2016.12.23]: I'm trying to make emacs be usable for working with python code. By 'usable' I mean I could rely on it with code navigation and completion. I'm using spacemacs + anaconda-mode for it, ...
1
vote
1answer
216 views

How can I change yank/delete to show relative line numbers during the yank/delete in evil?

I use evil via spacemacs. When I use yank, it’s mostly whole line numbers – like y20y. To a lesser extent, this is often true of delete – d10d Is there anything I can add to my Spacemacs config to ...
1
vote
0answers
603 views

Spacemacs issues since upgrading to v.0.2.00.5

I’ve had some issues with Spacemacs since upgrading. I don’t know if these are genuine bugs or if it’s in my configuration. I’m using Windows 7 and my version of emacs 25.0.92.1 1. I get the following ...
2
votes
1answer
601 views

Specifying local package loading order in spacemacs

I'm trying to create a layer where one package in the layer depends on the functionality of another package in the same layer. As spacemacs loads the packages alphabetically (I assume) this only works ...
2
votes
1answer
2k views

Setting up private layer with local files in spacemacs

I'm trying to get the unicode-math-input package up and running in spacemacs; the package depends on math-symbol-lists. Both packages are not featured in the official repositories. From what I know ...
1
vote
2answers
998 views

Spacemacs fails to load after installation on Arch Linux

I have been trying to use spacemacs on Antergos (Arch Derivative) but when I start emacs it doesn't load spacemacs. it used to work before just fine but not anymore. I'm also very new to emacs so I ...
8
votes
4answers
14k views

Spacemacs: kill buffer and kill window in one command?

Is there a spacemacs command that both closes the window and kills the buffer? In other words, the equivalent of Vim's :q?
3
votes
0answers
197 views

preventing indenting to open paren when creating a new block in react-mode

I'm using spacemacs for react development. i like it mostly but I have one issue that is annoying. Currently emacs will try to align certain lines with the last opening paren, so something like this:...
0
votes
1answer
190 views

modify tab length for eclim-java-format

So I'm trying to use eclim with spacemacs and I have this function called eclim-java-format which reformat the text as in eclipse. The problems is that it reformats tabs as tabs and not as space and ...
3
votes
1answer
867 views

Little help with a hydra

I need a hydra with four "heads", each of should exit the hydra when its function is executed. The hydra intended to be used in dired-mode and direx:direx-mode and pop-up when O pressed. This is what ...
2
votes
1answer
902 views

Spacemacs - Changing evil keys (swapping)

I use a different keyboard layout (colemak) so standard evil keys are a bit annoying. Is there a way to swap keys globally (minus when writing text)?
3
votes
1answer
321 views

Emacs (spacemacs) not keeping extensions

I installed emacs 25.1.1 on fedora and cloned the spacemacs environment. Then, I launch emacs and install some packages (e.g. magit). When I close and reopen emacs all my extensions must be ...
2
votes
1answer
547 views

What is the proper way to setup a package with Spacemacs?

I have been reading very good thing about Spacemacs, and decided to give it a try. Right now I am trying to port my (messy handwritten) configuration to it, and the Spacemacs way to do it is by ...
3
votes
1answer
366 views

Prevent Spacemacs from creating double sr-speedbar

I'm trying to make Spacemacs and sr-speedbar work together smoothly. Without using Spacemacs: The command buffer is local to each buffer where it is called: Left is sr-speedbar, right is the main ...
1
vote
1answer
549 views

Unable to Set Javascript Indent on Spacemacs

I have a vanilla Spacemacs setup, and in my .spacemacs file, the dotspacemacs/user-config definition I have added (setq js2-basic-offset 2) which should be sufficient to set the indent length as 2. I ...
2
votes
1answer
986 views

Spacemacs Latex: how to make view command tile vertically with emacs window?

I'm using Spacemacs Latex layer, which uses Auctex. If press space m v for the first time, the document viewer opens up in full screen over my emacs window. After, it only updates the window and keeps ...
4
votes
3answers
2k views

How do I paste code without auto indentation

I just setup the latest Spacemacs. I'm pasting python code from here https://raw.githubusercontent.com/jpmens/mosquitto-auth-plug/master/examples/http-auth-be.py into a new buffer. When I do this it ...
2
votes
1answer
958 views

spacemacs combine yas-snippet + autocomplete

I am pretty new to spacemacs and I am still trying to configure it to my needs. In emacs I use yas-snippet a lot and I am fond of the autocomplete feature in spacemacs. Apparently there is a way to ...
2
votes
1answer
2k views

Spacemacs: Company-Anaconda doesnt work

I recently installed Spacemacs and am new to it. 0.200.2@24.5.2 (spacemacs) / 14.04 Ubuntu same problem with 0.200.2@26.0.50.2 (spacemacs) / 14.04 Ubuntu Syntax Checking etc. is working fine, but ...
1
vote
1answer
1k views

How to set PATH variable to latex, so that I can use latex layer? [closed]

I installed the latest version of MacTex, and I am sure the latex is in the Libray/TeX/texbin/, I just don't know how to set the PATH variable, also I cannot install the AUCtex, I assume these two are ...
1
vote
1answer
357 views

installing spacemacs without disturbing existing emacs

I have been using emacs for a while, and i recently installed zsh and i wanted to give a try with spacemacs. I want to try spacemacs without disturbing existing emacs. I followed the instruction as ...
0
votes
1answer
570 views

How to make auto-completion case sensitive?

spacemacs default configuration enables auto-completion, however by default its case insensitive. How to make auto-complete case sensitive (specifically using a spacemacs configuration)?
5
votes
3answers
3k views

How can I scroll a half page on C-v and M-v?

I use Spacemacs, and for some time I've rebound C-v and M-v to spacemacs/scroll-half-page-down and spacemacs/scroll-half-page-up, respectively, to aid my understanding of the buffer as I move through ...
1
vote
0answers
678 views

setting csharp mode indentation to 2 spaces

Complete emacs/lisp newbie trying to switch from vim. I noticed that emacs indents C# files to 4 spaces, which is normally great, but I'm working on a project that requires 2 space indentation. I've ...
3
votes
2answers
780 views

How to disable Spacemacs from auto-balancing the split windows?

I am using Spacemacs and after using the splitting windows feature, either by splitting horizontally or vertically, Spacemacs always try to balance the split windows. For example, when pressing C-x 3 ...
2
votes
1answer
2k views

spacemacs+helm search up a directory

I am a fairly new Emacs user and just switched to using Spacemacs instead of trying to do all of the Vim configuration myself. It included a whole bunch of packages that I had not been using before, ...
0
votes
1answer
860 views

spacemacs, problem with irony package when getting irony* from github as alternative location

I'm using spacemacs devel. I've added following private layer using M-x configuration-layer/create-layer (setq irony-packages '( company-irony company-irony-c-headers ...
0
votes
1answer
2k views

Autocomplete not working for JavaScript

So I can't get Auto-Complete to work for JavaScript. I've tried a variety of solutions but nothing seems to be working. Here is the relevant code snippet: ;; ;;adds js2-mode for javascript ...
4
votes
2answers
2k views

How to paste from clipboard litterally into emacsclient within an ssh session?

This is a long-standing problem that I haven't found a solution for months. I sometimes copy text or snippet from somewhere relse and paste into my emacsclient in the Terminal by Ctrl + Shift + V (...
1
vote
0answers
223 views

How to put theme modifications into a personal layer?

For example I want to put (setq spacemacs-theme-org-height nil) into a personal layer, but that doesn't work. I can only put the setting into dotspacemacs/user-init. The reason seems to be Spacemace ...
0
votes
0answers
204 views

Spacemacs/org-mode/visual line bug

I'm using org-mode and visual-line-mode with Spacemacs by pressing <SPC> t l. However, when I do this I get strange behavior, possibly due to the visual indenting of lines. As I move between ...
0
votes
1answer
384 views

What's the best way to organize personal configurations in Spacemacs? [closed]

For plain Emacs, I used to use the following methods to organize my configurations: Put logically related configurations into different files; Organize with Org Babel. Now I'm trying to use ...
4
votes
1answer
873 views

wrong-type-argument stringp nil when trying to run flycheck

I'm new to emacs (coming from vim) and wanted to try flycheck with jshint. I have jshint installed and available in my path. However, when I try to check a buffer, I get the error: Error while ...
1
vote
2answers
352 views

What's the difference between :w and :sav in spacemacs?

I'm using spacemacs and while when I create a new buffer with a given name and try to save it into a real file I find that :w won't work but :sav will. What is the difference between those two ...
9
votes
2answers
10k views

How to operate the undo-redo tree in spacemacs?

I just hit SPC a u and it opened the undo-redo tree. Now I can't operate it. I go on the tree, press enter and nothing happen. I can't close it! Either :q is unrecognized. How do I operate this ?
5
votes
1answer
295 views

How to disable $ pairing in latex-mode in Spacemacs?

When I click $ I get another matching $ thanks to smartparens. I would like to disable this behavior but keep all other matching pairs like () enabled. I tried adding this to the Spacemacs config but ...
1
vote
1answer
1k views

How to move spacemacs neotree window position to the right?

I'm transitioning from emacs to spacemacs. In emacs I use neotree to have a nice sidebar where I can explore my files. I like it on the right side, so inside my custom-set-variables within my init ...
2
votes
1answer
649 views

How do I enable agda-mode's unicode input mode across all modes in Spacemacs?

I'd like to be able to type unicode characters like Π using agda-mode's "\Pi". In Emacs, I used to configure this like: (load-file (let ((coding-system-for-read 'utf-8)) (shell-...
1
vote
3answers
5k views

spacemacs how to show the documentation of a function during autocomplete in c-c++ layer

I am looking for a good alternative ide for c++ and for that started to lern first vanilla emacs and now spacemacs. I have configured my .spacemacs now to be able to edit lisp code quite comfortably ...
1
vote
1answer
799 views

How to be zoomed in twice at startup [duplicate]

I want to be zoomed in twice at startup. This is the result of the command SPC z f + +. How can I configure this in my .spacemacs?
4
votes
1answer
411 views

how to direct spaceline to display “Narrowed” in the mode-line?

I'm using Spacemacs, which by default includes spaceline. I'd like the mode-line to indicate whether I'm in a narrowed buffer or not. So when I do org-narrow-to-subtree, for instance, spaceline could ...
1
vote
1answer
93 views

Make changes to staged files in Magit

IntelliJ has a nice feature in the overview of the staged area, where you can make changes to the files in the staging area while having the diff overview. In the Magit overview of staged changes I ...
2
votes
1answer
1k views

How to use a github package instead of the built-in version?

I tried to install verilog-mode from github to replace the version built in to Emacs. I'm using spacemacs. I created a layer for verilog and added verilog-mode in packages.el: (verilog-mode :...
0
votes
1answer
340 views

helm-dash on windows and viewing docs inside emacs

I am trying to get helm-dash to work on Windows and I want to view the docsets in emacs. Here is what I did so far: downloaded ZealPortable (I don't have admin rights) downloaded some docs pointed ...