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
1answer
14 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
20 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
15 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
27 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
36 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
29 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
21 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
32 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
88 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
24 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
31 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
12 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 ...
2
votes
1answer
529 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
14 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
13 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
30 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
32 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
19 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
20 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
16 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
23 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
55 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
16 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
23 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
86 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 ...
2
votes
0answers
50 views

How can someone set Emacs / Spacemacs to prefer OTF font over TTF font when both are available?

Recently the nixos fira-code package added both the otf and ttf fonts and Emacs/Spacemacs isn't quite happy with the ttf ones. How could I tell spacemacs to prefer OTF over TTF when both are ...
0
votes
0answers
45 views

Spacemacs/LaTeX : How to scroll at the same time and pace a tex file and its pdf preview?

Config : Spacemacs 0.300.0@27.0.5 with latex layer I am using two windows in one frame with a tex file and its preview: |---------------------------------------------------------| | \section{...
0
votes
0answers
29 views

How to disable eldoc when using TRAMP (editing files over SSH)

Eldoc really bogs down the editor when used over SSH with TRAMP. I want to disable it in those cases. What I've tried is this: (defun no-tramp-eldoc () (interactive) (when (string-prefix-p "...
1
vote
0answers
45 views

Disable ispell when using Tramp

In my Spacemacs, I enabled the spell-checking layer which enables ispell. I noticed that my Tramp connection is very slow, and after debugging, I found that one of the causes is ispell: 02:07:20....
0
votes
0answers
25 views

List commands / keywords in a directory sorted by frequency of use

I want to do some refactoring. For that purpose I want to list all keywords grouped and sorted by their frequency of appearance. That could help me get ideas, which repetitive code I could start ...
0
votes
1answer
36 views

magit-checkout does not update current buffer

When I checkout an existing remote branch, the current buffer remains on the old branch. However if I open a new file, that new file is on the checked-out branch. My current workflow is this: ...
2
votes
1answer
68 views

Why can't I resize my windows to be the same width?

When I split windows using SPC-w / then my windows are created with different widths. I want them to split in half. I can't resize it by dragging it nor by using the shortcuts. I downloaded emacs ...
0
votes
1answer
47 views

spacemacs and org-log-done

In org-mode for emacs I used to get a prompt while closing a recurring task. This gave the ability to leave a note. Trying to configure this with org-log-done hasn't worked out. Anyone an idea how ...
0
votes
0answers
19 views

TeX-view replaces current buffer

I am encountering an issue since I switched to dev-branch: when I run the TeX-view command with only one active buffer (my .tex file), instead of opening a new side-window and displaying the PDF there,...
0
votes
1answer
48 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
60 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
1
vote
0answers
63 views

spacemacs opens file in terminal split

I'm using neotree and as you know it opens a file in the most recent window split you accessed before switching to neotree (window 0). Sometimes this last accessed split is the ansi-term window I ...
0
votes
0answers
25 views

Spacemacs: smart search skips C++ files

emacs version: 26.1 Spacemacs version: 0.200.13 Spacemacs init is the default generated one. Smart search set to ag OR grep My git C++ project has C++ source and header files, plus python and text ...
1
vote
0answers
15 views

Add recent files to .viminfo

Is there a package or code snippet that can make Emacs add recent files to .viminfo? I want this to use with v. (Basically to open recent files using fzf) I’m using Spacemacs (so evil, too), if that ...
2
votes
1answer
42 views

fcitx support for atlernative keyboard

I have fcitx installed on a Linux environment. According the to fcitx-diagnose it is correctly installed. I am using the us-alt-intl keyboard to access diacritics in other language as a default ...
0
votes
0answers
30 views

Customizing org mode variables in Spacemacs

I am a novice at coding in Emacs (and in general), but I have been using Org Mode in Aquamacs with some success. I'd like to to start using Spacemacs. I've got Spacemacs up and running using the ...
0
votes
0answers
57 views

Loading Spacemacs init.el post-Aquamacs

I have been working with Aquamacs and I would like to take Spacemacs out for a spin. I cloned .spacemacs and created an empty spacemacs file to store my configs later: git clone https://github.com/...
0
votes
0answers
80 views

spacemacs: LatexMk not recognised when building latex

I am trying to build a LaTeX file from inside spacemacs. I have LatexMk installed with MiKtex. I have tried SPC m b to build a test.tex file and it does nothing. Doing C-h C-l shows: Running `...
0
votes
0answers
36 views

spacemacs: show yasnippets at top of completion popup list

yasnippet can be integrated into auto-compltion in spacemacs. I want to show snippets at the top of the auto-completions list. Default is at bottom. foo_______________ |foo -> foo snippet| |foo ...
0
votes
1answer
41 views

Spacemacs Clojure Cider Debugger Gives Error, “No reader function for tag dbg”

After connecting Cider to Spacemacs, when trying to set a debug breakpoint on a function using ,-d-b (cider-debug-defun-at-point), I see the following message in the *cider-error* buffer. 3. ...
2
votes
1answer
153 views

Getting permissions errors related to /var/folders directory after doing mac migration

I am running spacemacs emacs and recently had to migrate my macbook to a new macbook. After doing that, I am having trouble using magit. When I try to commmit using magit from the magit status ...
0
votes
0answers
26 views

How can I open WoMan's pages from bash?

I first tried emacsclient -t -e '(woman "sox")', but it opens the WoMan's buffer as a popup: Then I tried emacsclient -t -e '(woman "sox") (spacemacs/toggle-maximize-buffer) (sleep-for 3) (delete-...
0
votes
1answer
35 views

How do I do the key strokes `C-M-c` in spacemacs?

I'm using spacemacs but trying to use ediff-regions-linewise to compare a couple regions of text. In order to confirm the selection, I need to do C-M-c. This is probably a silly question, but how do ...
1
vote
2answers
62 views

How to disable ERC connection notifications?

My ERC irc client sends some very annoying messages that fill most of my screen, letting me know that I've connected. I'd like to turn these off. I've tried setting a couple of variables and ...
0
votes
0answers
27 views

How to get Spacemacs to do Tmuxinator style custom layouts that execute shell command on load?

Using tmuxinator with Vim/Tmux, it's possible to define a custom YAML layout with multiple windows that execute shell commands automatically as they load. For example: name: my-project root: ~/...