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
6 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 ...
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
0answers
80 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
37 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
0answers
19 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
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 ...
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
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 ...
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
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 ...
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 ...
2
votes
1answer
33 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
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. ...
1
vote
0answers
22 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-...
0
votes
0answers
37 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 ...
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.
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://...
1
vote
1answer
45 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
1answer
58 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 ...
0
votes
1answer
37 views

Sum org-mode table column based on other column

I have this org-mode table: | Category | Category Budget | Needs Transfer | |------------------+-----------------+----------------| | Rent | 3000 | t | | ...
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
23 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 ...
2
votes
2answers
47 views

Insert Org or Markdown code blocks with Babel in org-mode?

In org-mode, if I do something like this: #+begin_src org ## What does this PR do? - Updates the Dockerfile to make the `dev` service connect to a shared network at startup - Registers the `...
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
32 views

Is there a way I can open emacs (spacemacs) recent files from rofi?

I know Spacemacs keeps track of my recently-edited files. But I can't find a function that will allow me to see these from the command line. Ideally I'd like to find a way to run Rofi and see a list ...
0
votes
0answers
35 views

Why is Spacemacs in ssh so different from local terminal and how to make it the same?

My Spacemacs share the same configuration on local macOS and remote Linux, but they look quite different. The only OS related settings that I found in my configuration is that I enabled OSX layer on ...
0
votes
1answer
45 views

Display file icons in ranger inside spacemacs

I am looking to get visual representation of different file extensions as discussed in this question. https://github.com/ranger/ranger/issues/298 In the question however there are some python ...
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 ...
0
votes
1answer
47 views

Is there a way to write and kill a buffer in a single command in Spacemacs / Evil?

I am new to (Spac)Emacs with Evil, and I did quite some searching to find an answer to this question, so I hope this is a 'legitimate' question here. Is there a default single command to write a ...
0
votes
0answers
45 views

Defining function that takes funciton as argument results in “Wrong type argument: commandp, (bm-my bm-next)”

When using the below and invoking the function via <leader>Bn I get an error of command-execute: Wrong type argument: commandp, (bm-my bm-next) (defun bm-my (a) (interactive) (a) (bm-show-...
0
votes
0answers
36 views

Select multiple files with ranger in spacemacs

This problem drives me mad. I want to be able to visually select multiple files for further operations. What happens is that after pressing V to go into visual mode the buffer seems to change. With ...
0
votes
0answers
39 views

How can I merge/collapse multiple frames into one single frame in Spacemacs?

Sometimes I have multiple open frames (not only windows) in Spacemacs, and would like to collapse all frames into one single frame. That's easier to keep track on open buffers. However, I cant' find ...
3
votes
1answer
93 views

How to prevent Emacs from moving my mouse pointer out of the way?

I'm using Spacemacs on MS Windows (msys2 build) and when a tooltip pops up Emacs seems to move my mouse pointer out of the way. How can I prevent this automatic movement?
0
votes
1answer
41 views

How to disable the release notes in spacemacs?

Is there a simple setting to disable the release notes in the startup screen, rather than modifying the core.el here? https://github.com/syl20bnr/spacemacs/blob/master/core/core-spacemacs-buffer.el#...
1
vote
1answer
38 views

How do I search the auto-complete options?

Spacemacs by default comes with company for autocomplete. When typing, it shows all kinds of symbols matching what I have typed so far. This list can be very long. Is there any way to search in the ...
0
votes
0answers
13 views

Using find-name-dired on ms-windows in spacmacs not linking to full filename when using C-c l for org-store-link

How to get link to file when using find-name-dired on MS-Windows? I am using MS-Windows and spacemacs. I am use org mode files to manage information. I also have a directories with many reference ...
3
votes
1answer
558 views

How do you type a space character in Spacemacs?

I was researching editors and I ended up stumbling upon Spacemacs and the fact that it uses the spacebar instead of traditional modifier keys. The documentation claims that this lowers the user's risk ...
0
votes
0answers
16 views

Disable spaceline on certain terminals

I'm using spacemacs for the convenience of largely not having to maintain my own emacs configuration, after 25 years of emacs use. For graphical frames and high-color unicode terminals, the fancy mode-...
0
votes
0answers
16 views

Evil/spacemacs bindings in image buffers?

I see from here: Shrink/Zoom/Scale images in image-mode that image-manipulation is possible with additional packages. Now, I am not yet at a point in my emacs life where I want to do image editing in ...
2
votes
1answer
42 views

Spacemacs pdf-tools inverse search with keyboard possible?

I am running spacemacs and pdf-tools on Ubuntu 18.04. It does work quite well, however now I asked myself whenever there is an option to do inverse search (or to make a new command doing inverse ...
0
votes
0answers
42 views

How can I use evil-mc in spacemacs?

This question is a semantically similar question but the OP's intent was more about which implementation of multiple cursors was "best". I echo one of the commenters of that question who asked "Can ...
0
votes
0answers
25 views

For spacemacs, how do I override a layer's setting? (company-minimum-prefix-length 0 in web mode)

Using Web mode if I type <div> and wait 0.2s later (company-idle-delay) I get a menu with every possible HTML tag I might want to use after that. It's pretty useless. If I am editing inline ...
0
votes
1answer
26 views

How to search within current folder and sub folder (Spacemacs)

When I do space + s + P, I can search within the project which is cool. But I would like to search in current foler and subfolder. how to achieve that?
1
vote
0answers
17 views

Switching Emacs server's socket without leaving existing emacs gui

I would like to switch between emacs socket without leaving the GUI. I am able to start two emacs daemon session by doing the following: In xterm1: emacs --daemon="one" In xterm2: emacs --daemon="...
0
votes
0answers
28 views

How to revert to specific version of orgmode package in orgmode layer in spacemacs

I am using spacemacs with emacs version 26.3 and would like to use org-drill. Unfortunately, there currently is a bug that prevents org-drill from working with org-mode version 9.2 (which is the ...
0
votes
0answers
75 views

Treemacs with Scala Metals/LSP: “Creating Pipe: Too Many Open Files”

I'm on spacemacs develop, emacs version 27, OSX Mojave 10.14. After adding the lsp layer and the snippet from the metals documentation here: to my .spacemacs file, treemacs will refuse to expand a ...
0
votes
0answers
22 views

How to make Alt-h work in Org mode in Spacemacs?

When inside a table in Org mode, I can press Alt-l to move the column to the right. But alt-h does nothing. The same happens when I try to put the heading one level deeper. Alt-l works but alt-h ...
0
votes
0answers
24 views

How to insert a new space before cursor?

I have links in Org mode that are at the beginning of the line and I struggle to add space before them in the insert mode. It would be great if there was a way to insert a space before the current ...
0
votes
1answer
99 views

org mode: Can't add deadline to headline (wrong number or arguments)

I have been having the following issue for a whilst now. I try to add a deadline to a headline and I receive the following error: Wrong number of arguments: (1 . 2), 0. Here is the corresponding ...