A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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

How to search certain subdirectories of directories that are ignored by Git

I'm working in a Scala project that has target/ directories entered as ignored in the .gitignore. However, there is also Scala code being generated during the build which is being nested under a ...
1
vote
2answers
288 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 ...
6
votes
3answers
3k views

how to add date and time into spacemacs' mode line

I usually use Spacemacs in maximized window, thus the date and time presented in mode line is a must. I understand that spacemacs uses powerline mode to mimic vim, the manuals of both spacemacs and ...
0
votes
1answer
8 views

How to check the change log of a layer's update

I update the layer very often. How can we see the git log for those updates? For example, the most recent haskell-mode layer has a bug, and I want to check it.
0
votes
0answers
7 views

Can not properly select region A in ediff-region-linewises Spacemacs

I want to compare two functions in a Python script, sat test.py, and I'm using Spacemacs (but really really new to it and any other general editor). I read that I can use ediff-region-linewise to do ...
0
votes
2answers
37 views

How do I get request.el to post the contents into the buffer

I'm trying to use request.el but have no clue what I'm doing. What I want to do is create a request to Zotero that uses their citation picker using the to get a 'Cite As You Write' capability using ...
0
votes
1answer
64 views

In org mode, how can I hide body text but show drawer contents?

Using spacemacs I would like to be able to display an org mode document such that: all headings are visible all drawers are open and their contents visible all other body text is invisible It would ...
0
votes
0answers
82 views

LSP sometimes working with Metals, sometimes spamming “the request has been cancelled”

I have Spacemacs configured to use Metals as an LSP backend for Scala development, i.e. my dotspacemacs-configuration-layers includes: (scala :variables scala-backend 'scala-metals ...
1
vote
1answer
38 views

Search/replace and replace within a block of selected text of buffer in spacemacs

As stated in the title, I want to search and edit (including replace) certain strings in a selected part of a buffer, not the entire buffer!!!, how can I do it? Are there any built-in keystrokes?
0
votes
1answer
45 views

Debugging with dap-mode for python and taking user input

I am trying to make dap-mode for python working on spacemacs. For the most part I was able to get it working, but I am having issues taking in input on the CLI def main(): a = input(">") The ...
1
vote
1answer
836 views

How to sort TODOs in Org-Mode?

I'm new to the org-mode in Emacs and I can't seem to find anything on how to sort a list of todos while editing in org-mode. I know that they can be sorted through some view (e.g. agenda), but I'd ...
3
votes
1answer
552 views

Why did the proced of Emacs not show the process on my win10 system?

My Emacs version is 26.1. The system is Microsoft Windows 10. When I run M-x proced, the buffer does not list the proced used on the current system. What is this situation?
0
votes
0answers
20 views

Spacemacs config on OSX is not detected?

I have installed spacemacs following this tutorial: https://github.com/syl20bnr/spacemacs#prerequisites The spacemacs config is not detected. The $HOME dir is set to /home/<username> and is ...
0
votes
1answer
27 views

Open link of file in org mode with its defalut application rather than within spacemacs

really new to spacemacs, I want to open a link (which is a file stored somewhere on my computer and the full path is used) inserted into org-mode file of spacemacs with the default application of such ...
0
votes
1answer
121 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
100 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
51 views

Spacemacs org-mode python session plotting problem

I have been using org-mode with R in Spacemacs for a while now with no issue. I'm moving my workflow from R to Python. Jupyter notebooks (EIN) works great, but I prefer org-mode: Normal (non-...
0
votes
1answer
18 views

Using larger font with Powerline

I've just switched to using spacemacs with powerline. I'm trying to make the font larger (my eyes are not as good as they used to be). But when I do, the powerline separator gets screwed up. Is ...
0
votes
1answer
70 views

Spacemacs and mu4e - “[mu4e] No contexts defined”

I'm using the latest Spacemacs develop branch (updated this morning) and I think that the latest package updates might have broken something? I had just set up mu4e yesterday, and finally got contexts ...
1
vote
1answer
38 views

What's the Emacs package that enables a “mini-mini-map” in the status bar?

I'm specifically talking about the package Spacemacs enables. It creates a tiny square with a horizontal bar, that goes up and down in accordance with your position in the file you have opened. E.g., ...
0
votes
1answer
31 views

Helm: copy file to bookmarked directory

I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired. I would like to be able to quickly choose an alternative destination from within the ...
0
votes
1answer
749 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
0answers
12 views

Spacemacs: changing the font size of the window number when swapping windows

I am using Spacemacs on emacs 26.2. The one challenge I have is the font size for the window number. So in Spacemacs, as in other emacs implementation, there is that package that allows you to flip ...
1
vote
1answer
424 views

Where is ispell private dictionary located on Spacemacs?

My Spacemacs help ispell-personal-dictionary says: ispell-personal-dictionary is a variable defined in ‘ispell.el’. Its value is nil Documentation: File name of your personal spelling dictionary, or ...
1
vote
1answer
1k 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
71 views

How do I get rtags to work in spacemacs?

On a recent pull of both rtags and spacemacs, but I can't seem to get rtags to work well. There is no keybindings for jumping/searching to/for symbols and the definitions either. I've seen a couple ...
0
votes
1answer
126 views

How to install evil-snipe-enable-alternate-f-and-t-behaviors on Spacemacs?

I am trying to install "evil-snipe" with evil-snipe-enable-alternate-f-and-t-behaviors on Spacemacs. The instruction on https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Bvim/evil-snipe are ...
0
votes
1answer
119 views

Spacemacs helm-org layer is missing

Good day, I wanted to use the helm-org-in-buffer-headings function. Yet for some reason helm-org layer is missing. If I install it manually via package list packages it gets deleted with the next ...
2
votes
1answer
34 views

How to show the beginning and end of a long function name in `which-key`?

By default, in which-key, descriptions that are longer than 27 characters are truncated, and .. is added. How can I prevent this eliding and show the beginning and end of a long function name?
0
votes
0answers
8 views

Is there a way to make semantic sticky func show full path?

Semantic sticky func is very handy when reading code. However, Python for example, it only shows the most current scope (only show function name in a class). Is there any way to make it display full ...
0
votes
0answers
23 views

How to assign “,p” to org-agenda-priority?

I tried (spacemacs/set-leader-keys-for-major-mode 'org-agenda ",p" 'org-agenda-priority) I don't see this reflected in the key map. What is the correct way? This is on Spacemacs 0.300.0, rev. ...
2
votes
1answer
343 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 ...
1
vote
1answer
114 views

spacemacs - rebind existing keys

I am trying to rebind j, k key as well as capital E, B and Y, but cannot get them to work. Any pointers? I put this into my .spacemacs (in dotspacemacs/user-config): (evil-define-key 'normal key-...
1
vote
0answers
23 views

Rebind a key in insert mode for a major mode?

I'm trying to rebind a key in insert mode for a major mode and I just can't seem to get it - I have in my .spacemacs (evil-define-key '(normal insert) rjsx-mode-map (kbd "C-d") 'rjsx-delete-...
1
vote
2answers
542 views

Spacemacs change line background color when has comment

I currently have a strange behave when my code has comment on Spacemacs. Making it bad to read a file with a lot of comments Anyone knows how to change this behave? I tried to search about it and ...
0
votes
1answer
469 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 ...
0
votes
0answers
622 views

Validity of RSI claims for Emacs users

If this is not a relevant place to post this, please let me know. My common workflow is Vim+Tmux. Mostly i do Clojure coding. Just yesterday i've downloaded and tried Spacemacs, out of curiosity. ...
0
votes
0answers
38 views

How to highlight variable in scope?

assuming my cursor is going over a specific word in the text, I would like to highlight all occurrences of that variable in the scope. function sayHello () { const hello = 'hello world'// cursor is ...
2
votes
1answer
671 views

spacemacs: keep track locations of smart search

I have custom visit history ring which is independant of search seach engine used. I would like spacemacs smart search filled my ring as well. Details: 1. I'm in some buffer under location1. 2. I've ...
3
votes
1answer
1k views

Org-Mode correct indentation

I am using spacemacs and try to use full text indentation. When I execute "visual-line-mode" and "adaptive-wrap-prefix-mode" by hand via M-x the text will indent, when I edit it. Of course I tried to ...
0
votes
1answer
1k 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 ...
0
votes
1answer
771 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 ...
3
votes
1answer
382 views

Use system-installed package with spacemacs that depends on MELPA packages

How can I include a package that is available locally on my system that depends on the string library s with spacemacs? I have an company internal package that adds functionality to magit available ...
1
vote
0answers
33 views

Do I have to call all the code blocks in org-mode to chain them?

Imagine this org file #+NAME: get-referral-code-payload #+BEGIN_SRC bash :dir ~/Developer/data :results raw :exports code curl -H "Content-Type: application/json" -d "@userData.json" -X POST https://...
0
votes
2answers
260 views

Can't set default servers in ERC layer

My user-config looks following: (defun dotspacemacs/user-config () (setq-default dotspacemacs-configuration-layers '((erc :variables erc-server-list '(("chat.freenode.net" :...
0
votes
1answer
61 views

Use helm fuzzy search inside ranger inside spacemacs

I am using ranger within spacemacs. One useful feature an explorer in windows (directory opus) I used has, is that by pressing keys it automatically starts to filter files with names corresponding to ...
1
vote
1answer
196 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 ...
1
vote
1answer
47 views

No org-babel-execute function for js!

I'm using org-mode in Spacemacs and have this code block: #+BEGIN_SRC js :var payload=access-token-payload let parsedPayload = JSON.parse(access-token-payload); return parsedPayload.access_token; #+...
0
votes
0answers
24 views

Fuzzy search as default mode in ranger in spacemacs

I am using ranger within spacemacs. One useful feature an explorer in windows (directory opus) I used has, is that by pressing keys it automatically starts to filter files with names corresponding to ...
0
votes
1answer
952 views

How to add matlab integration-spacemacs?

I already installed matlab-mode from the package list. However, not sure where to add the path in ~/.spacemacs. Its a huge file, and the code structure look different from the path file: (...