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

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.

1
vote
1answer
23 views

Keybindings not working?

I'm using spacemacs and I've added the following user config: (defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs ...
0
votes
0answers
22 views

Spacemacs user-config error

I'm using Spacemacs to develop a laravel + Vue application and I followed the steps in this configuration example to highlight syntax in Vue, but now every time Spacemacs starts it gives me this error:...
0
votes
0answers
30 views

Spacemacs error when loading `.spacemacs` which uses package `flycheck`

I added the following at the end of my ~/.spacemacs file: (use-package flycheck :defer t :init (global-flycheck-mode)) When I do this, I get Spacemacs encountered an error while loading your '/...
2
votes
1answer
44 views

Convert an org table into a tree

I have an org table and I will like to convert in into a tree. So, from: | 1 | 2 | 3 | |---+---+---| | a | b | c | | l | m | n | I will like to go to: * a :PROPERTIES: :2: b :3: ...
2
votes
1answer
49 views

When using `lisp-state`, how can we repeat an action like slurp, and bind a key to easily perform the repeat?

In vim, I frequently used the "." shortcut for repeating the last command. I found this extremely useful especially when working with clojure tools to do things like slurp-ing and barf-ing to refactor ...
0
votes
0answers
11 views

How can I use bandit with flycheck in Spacemacs?

How can I integrate bandit with flycheck in Spacemacs? I know there is flycheck-pycheckers. But I would prefer to have a separate integration for bandit only.
0
votes
1answer
31 views

Cannot run entr from eshell

I'm running Spacemacs and have eshell enabled. I want to run the elixir tests every time I change any files in the directory. This is the command I'm running ls * | entr elixir bob_test.exs This ...
0
votes
0answers
33 views

How do I sync org-mode with Google Calendar?

When setting up org-gcal within spacemacs I am getting an error. I have setup my google api and have put my client id and secret key into spacemacs but when attempting to sync the calender I merely ...
0
votes
1answer
17 views

How can I startup Spacemacs with term shell opened?

I'd like to have a term shell opened after startup of Spacemacs. How do I have to configure .spacemacs?
0
votes
1answer
23 views

How can I startup Spacemacs with several windows?

I'd like to have two windows opened (vertical split) after startup of Spacemacs. How do I have to configure .spacemacs?
0
votes
0answers
22 views

Change toggle-input-method without 'M-x' input

I am really confused with the way emacs treats input methods. In my previous configuration if I set 'toggle-input-method' to Greek, all key bindings and inputs in other cases (like M-x) used English. ...
0
votes
0answers
41 views

Spacemacs — themes won't load after adding to config layers

I'm probably not understanding something basic... Following the docs, I've added themes-megapack to dotspacemacs-configuration-layers '(...), but typing space f-e-R I'm told that themes-megapack has ...
0
votes
1answer
31 views

python-shell-completion-complete-or-indent no mathes in ipython

import pandas as pd pd. # press tab, there are completions df = pd.DataFrame() df. # press tab, No Matches Same configuration worked on my local mac but not on linux server. If I use python ...
0
votes
1answer
17 views

Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh

Description Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh Reproduction guide Observed behaviour: - Start Emacs execute import ...
0
votes
1answer
96 views

List of themes available in Spacemacs

helm-themes loads the themes present in custom-load-themes which are coming from custom-theme-load-path (as per C-h f helps) After installing themes mega-pack, the list is the following : Available ...
0
votes
1answer
17 views

I restored my MacOS machine from a backup. How to fix errors while trying to read/write non existing files in the /var/folders/ directory?

I restored my machine from a backup where I hadn't backed up system directories. Now my restored emacs (spacemacs) insist on trying to read and write from this directory and I keep on getting errors ...
0
votes
1answer
26 views

How to change the font color of popup in haskell layer

I am not good at emacs because using spacemacs only for haskell coding. I want to change the font color of popup from white to black. White text on yellow popup is too hard to read. It's solarized ...
0
votes
0answers
13 views

Apply vim macro to files in helm-ag result?

I am using spacemacs (using evil mode) and want to apply a vim macro (keyboard defined or otherwise) to the files resulting from a search in helm-ag. I'm thinking the easiest way would be to apply a ...
1
vote
2answers
185 views

How can I use multiple cursors in evil/spacemacs

There are multiple multiple-cursors implementations for emacs. I have the impression that extra work has been required to make them work well in evil and spacemacs in particular. I imagine the ...
1
vote
1answer
43 views

Accidentally disabling evil mode in spacemacs

While use spacemacs in evil mode, I sometimes accidentally disable evil mode and I do not understand how I am doing it. And once disabled, I do not know how to reenable the mode without restarting ...
0
votes
1answer
36 views

defun removes function in spacemacs config

I re-defined the function org-archive-subtree to call another function as described in the function below. I did this in spacemacs/user-config, now I can't call org-archive-subtree and C-h v (describe ...
1
vote
1answer
61 views

How do I enable hlint for haskell linting?

I am trying to select hlint and use it as the default for haskell-mode. I recall accidentally finding the option for this once, but haven't been able to find it again. I am new to Emacs and do not ...
0
votes
1answer
29 views

How to temporarily start emacs without loading spacemacs?

Emacs with spacemacs takes a long time to load and for some things such as git commit messages I would like to start basic emacs without loading spacemacs. I don't want to wait for spacemacs to start ...
0
votes
0answers
17 views

Prevent spacemacs from splitting lines of C++ code

I installed the c-c++ layers in Spacemacs. When I invoke indent-region, Spacemacs splits lines that are longer than 80 characters. How can I prevent this behavior? auto-fill-mode is not enabled and ...
1
vote
0answers
42 views

Multi-term issue with line wrapping for shell but not applications

I use multi-term within spacemacs for most of my command-line operations. It works well except some annoying behavior in the shell prompt (zsh but similar for bash) on commands which go over the ...
0
votes
1answer
35 views

Spacemacs redefine main prefix `M-m`

I am trying Spacemacs with emacs keybindings, so the commands starting with SPC, like SPC f e d, can be invoked by replacing SPC with M-m. Since M-m is bound to back-to-indentation in stock emacs, I ...
0
votes
1answer
51 views

Cannot open remote file

I am trying to open a remote file in spacemacs in evil mode on windows using SPC f f. This pops up helm and entering /ssh:myuser@myhost/folder/file.txt produces Wrong type argument: stringp, nil In ...
1
vote
1answer
162 views

How do I live preview markdown, rendering math, checkboxes, etc.?

I’m using Spacemacs with markdown-mode and I’ve configured it according to Jason Blevins’ guide. Other things I’ve tried Pandoc works pretty well except when I set the —lua-filter=task-list.lua flag ...
1
vote
0answers
101 views

Flycheck cannot use this syntax checker for this buffer

I use spacemacs and while in Python mode, flycheck can not use flake8 checker even when I try to manually enable it using flycheck-disable-checker. I get the following output from flycheck-verify-...
1
vote
2answers
32 views

Go to a bookmark that is not visible currently due to narrowing

Running emacs 25.2.2 spacemacs 0.200.13. In an org file, I have defined several bookmarks(SPC f b) under different headings. Consider this: * H1 Some text Bookmark 1 * H2 Some text Bookmark ...
0
votes
1answer
46 views

Rectangular blocks appear when I start emacs

So this is happening from past few days. When I start Emacs it is displaying rectangular block for each character. and when I start Emacs inside the terminal with the -nw option it starts renders ...
0
votes
1answer
16 views

How do I use keys bound to a command with universal argument in Spacemacs?

In spacemacs, a lot of commands have bound keys such as leader x a. For those commands that accept universal argument, how can I pass them to these command with key bindings? leader space leader x a ...
1
vote
1answer
93 views

How do I open a file in spacemacs?

Say I have spacemacs open and now I want to launch some sort of file browser to open a file. How do I do it? I have found SPC f f which sort of works but the navigation is quite cumbersome. There is ...
3
votes
1answer
33 views

How should I disable variable font sizes globally

I'm aware of several answers regarding font sizes for org or auctex. However, is there a way to require all faces have the default font size for all modes? I'm new to emacs and currently using ...
0
votes
0answers
30 views

Org-mode hide note by default within a fold

In Emacs org-mode, if I take a note by C-c C-z for a node then press TAB to cycle the tree's visibility, the note's content will always show up. Instead, I would prefer if the note only shows up as a ...
0
votes
1answer
17 views

Opening my windows 10 project with spacemacs via samba/mount will attach wrong encoding to all files

I have a project on my windows machine. I mounted that via samba. Then I access the project with spacemacs. When I run magit now all project fiels have been modified. The actual change is that every ...
2
votes
1answer
68 views

How can I make terms searched with `*` or `#` populate the search history?

In my attempt to have * and # work in Spacemacs as they do in Vim, I've followed the solution posted at this question. Those keys now work, but there's one hurdle more to overcome: the searched term ...
0
votes
1answer
63 views

How do I hit the equivalent of `C-u` (of normal emacs) in Spacemacs?

According to the "Evilified modes" documentation [1], C-u gets moved to C-U, but when I try to hit that (Ctrl+Shift+u), my cursor still gets moved one page up, instead of starting a new long command. ...
1
vote
0answers
71 views

How to make Lisp state a default instead of normal?

I'm learning Clojure and Emacs at the same time 🤕 I use Spacemacs with Evil. Recently I've learned about Lisp state and I find it very handy. The only problem is that whenever I switch to insert ...
1
vote
0answers
14 views

Logbook clock entries as active/inactive time stamps in icalendar export

Is there a way to automatically have active/inactive timestamps updated in the body of the org node? My final goal is to have the clock entries included as events in icalendar export. Alternatively ...
0
votes
1answer
68 views

How to use org-export to export from a file in emacs

I hava an input file name like /path/to/orgfiles/file.org I have an output file name like /path/to/mdfiles/file.md This two path have been set into two variables: inputfile = "/path/to/orgfiles/...
1
vote
1answer
133 views

CSS classes autocomplete not working with web-mode

I'm struggling with a problem with Spacemacs and I don't know what I'm doing wrong (maybe a lot of things). I have created a TAG file for my project. The tags seem to work well because I can navigate ...
0
votes
1answer
99 views

Emacs Latex/Auctex: Error message about using `Tex-command-list` command to set `Make` as a compile option

I have a setting in my Spacemacs dotfile that adds Make as a compile option for a latex document. The actual command is below. (add-to-list 'TeX-command-list '("Make" "make" TeX-run-...
0
votes
0answers
9 views

Is it possible to make layouts-ts buffers not to overlap?

I usually use many layouts-ts in my emacs client. In first layout (say, default one, 0) there are buffers that actually belong to (were opened in) another layouts-ts. Is it possible to make buffers ...
1
vote
1answer
196 views

PHP function descriptions not loaded. Try M-x php-extras-generate-eldoc

I keep getting this annoying error that pops up in a dialog every few seconds. I've tried running php-extras-generate-eldoc but that seems to point to http://doc.php.net/ which does not seem to be ...
1
vote
1answer
47 views

Quake Terminal Like Access for Emacs Client Session [duplicate]

I am trying to get used to Emacs. I have a problem with the startup time of the Emacs and I give up Emacs easily when the startup times for "vim", "subl" (sublime text), and "code" (vs code) are much ...
0
votes
0answers
75 views

Install Spacemacs in offline mode on MS windows

I need to install Spacemacs on the company's PC, which has no internet. So I can download an ELPA mirror (archive or library) from here. I followed this URL I changed the https:\\ : then I ran ...
1
vote
2answers
84 views

Spacemacs: change prefix key from `SPC-b` to `SPC-v`

I use buffer (SPC-b) prefix key very often, and would like to move its keymap to a more convenient key (e.g. SPC-v). Is there a way to achieve this without redefining the entire map? so I would like ...
0
votes
2answers
125 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] - ...
2
votes
1answer
122 views

Set intero as default in spacemacs

How do I set intero-mode as default for my Haskell buffers instead of haskell-mode?