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
1
vote
0answers
33 views

Why is js2-mode changing my indentation level when I type parenthesis

I'm getting started with some JS code in Spacemacs, and trying to get a good indentation level on my method chaining. The trouble is, once I've got an indentation to the place I want it, something (I'...
0
votes
0answers
11 views

Spacemacs Java layer with backend disabled

I would like to use Java layer without using any backend. I don't need the auto-complete pop-up, as sometimes it slows me down or freezes Emacs. But I would like to use the code snippets that comes ...
0
votes
1answer
22 views

SPC key shortcut is not working in spacemacs

I've spacemacs installed in my ubuntu/opensuse OS emacs version 26.3. SPC shortcut is not working for my spacemacs. I'm getting message Buffer is read-only: #<buffer *spacemacs*> Below is ...
0
votes
1answer
40 views

Spacemacs Unable to use dap mode for Spring Boot web app

I am trying to set up a break point in my controller so that I can debug my spring boot web application within spacemacs. Can someone walk me through the steps on doing this. The steps I have done so ...
0
votes
0answers
8 views

In spacemacs, how can I override a default prefix?

I am trying to redefine the C-c C-w shortcut which is the leader key for eyebrowse by default. How can I rebind it to org-refile? I have tried the following without success: (spacemacs/set-leader-...
1
vote
1answer
24 views

I would like to add a shortcut to sp-wrap-square in spacemacs

I would like to extend the lisp editing shortcuts so SPC k [ and SPC k { would wrap the current form in [] and {} respectively. I don't know what I need to write in my spacemacs config to enable this ...
0
votes
0answers
13 views

“Unknown layer treemacs declared in dotfile” on spacemacs

I have new installation of spacemacs. I have installed treemacs using M-x package-install [RET] tremacs [RET] command. Also, I've enabled the dotspacemacs-configuration-layers c-c++, syntax-checking ...
0
votes
0answers
29 views

Package for live inline rendering for markdown/org mode text with css styling?

Currently, I use Typora, a markdown editor,for all my personal notes and documentation. After seeing the capabilities of emacs in a colleague's spacemacs setup, I am very interested in switching from ...
0
votes
2answers
53 views

Rename multiple files from a predefined directory to another directory

I want to have a function, which moves a file or optionally multiple marked files from one directory to a different directory in some parent folder. I managed to design a script which does the main ...
0
votes
0answers
54 views

C++ auto completion is not working in spacemacs with clangd

I'm newbie to emacs/spacemacs. I'm using emacs version 26.3 I have installed spacemaces in my system using command git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d and rm ~/.emacs Now I'm ...
0
votes
0answers
31 views

Time-formatted output from org-table date- and time calculation?

I have an org-table for my timesheets. Part of it looks this: | Start | End | End - Start | | <2020-03-05 10:00> | <2020-03-05 Thu 14:30> | 0.1875 | #+...
1
vote
1answer
160 views

A custom layer, org-roam, only works on the 3rd restart of spacemacs

I'm using Spacemacs v.0.200.13, and GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-09-16. I'd like to install and use the org-roam package. The instructions indicate ...
0
votes
0answers
14 views

org agenda empty after org-mac-iCal import

After some struggle I got it to work for a day. I was able to see a combined agenda with todo's and calendar appointments correctly. The next day it stopped working, and the agenda file appears empty....
0
votes
0answers
22 views

How to enable flycheck in every layer in spacemacs by default?

I have syntax-checking in my layers, and according to the documentation, it should be enabled by default in every buffer. However, for me this is not the case. How do I enable flyspell syntax-checking ...
0
votes
0answers
27 views

How to create a prefix key for the hybrid state in spacemacs?

Prefix key can be created in Emacs as described here. The way to define a key for the hybrid state in spacemacs can also be found in the spacemacs document. However, I don't know how to define a ...
0
votes
2answers
47 views

Spacemacs evil-mode : How to toggle off visual mode in interactive function call?

;; .spacemacs file (defun my/function (beg end) ;; To work with visual selection: (interactive "r") ;; Displays visual selection in message buffer: (message (buffer-substring-no-...
0
votes
0answers
11 views

Autocompletion in R files set `truncate-lines` to `t` (spacemacs)

I use the ess layer in spacemacs to work with R files. After an autocompletion, the variable truncate-lines is set to nil. Furthermore, during the time the complexion box is on the screen, the lines ...
1
vote
1answer
42 views

Org-Babel Unable to Tangle to Write-Protected Folders?

I'm trying to move my OS configuration over to org mode, and in the process I'd like to be able to tangle to write-protected directories like /etc Unfortunately, tangle doesn't seem to work whenever ...
0
votes
0answers
25 views

I got an error: Package 'tabbar-20160524' is a system package,not deleting

I installed spacemacs using "git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d" but I got an error: Package 'tabbar-20160524' is a system package,not deleting.... When I ...
0
votes
0answers
20 views

Helm not displaying files [spacemacs on Mac Catalina]

Helm (SPC f f) doesn't display any files, even though the opening screen displays recent files which I can open. If I type in the name of a file I know is in a folder, I get the warning trying to ...
0
votes
0answers
57 views

Emacs-dashboard with spacemacs?

Has anyone tried this? I'd like to customize the "landing screen" I get when I launch spacemacs, and previous posts recommend emacs-dashboard for this. But I can't seem to figure out how to get it to ...
0
votes
1answer
22 views

Configure the delay before window showing command completions is shown

When I start entering a command and pause, this helpful window pops up at the bottom: When I don't pause, it doesn't show up. But sometimes, it takes more time to complete a command that I know, e....
0
votes
0answers
34 views

Set parent task to DONE based on child conditions

I'm new to Emacs (spacemacs) and trying to get Org-Mode's TODO feature working how I'd like it to work. I am trying to have parent tasks set to DONE when all child checkboxes (or TODO's are complete)....
0
votes
0answers
65 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
9 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
54 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 ...
1
vote
0answers
114 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
88 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
33 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
234 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
34 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
43 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
58 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
9 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
44 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?
1
vote
0answers
36 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
30 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
44 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
9 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
41 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
141 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
124 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
49 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
91 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
29 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
68 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
56 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 ...
1
vote
1answer
55 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
62 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
84 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 ...

1
2 3 4 5
14