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
41 views

ctrl-backspace behaves differently across emacs environments, though .init file is same

I recently needed to start using another mac for work and I wanted to duplicate my spacemacs settings onto my new computer. I simply copied all files located in .emacs onto my new computer, and it ...
0
votes
0answers
19 views

How to set leader-key-like chord sequence in Evil mode?

I am using Spacemacs with evil mode and this works: (define-key evil-normal-state-map (kbd "m") 'set-input-method) However, I would like to use something like this: (define-key evil-normal-...
0
votes
0answers
37 views

Remember previous text searches history with positions after further text search

Using Spacemacs’ spacemacs/helm-project-smart-do-search (SPC / pattern RET, which I think is using helm-ag under the hood), I search for a text pattern in my project and go to the first match, and ...
0
votes
0answers
9 views

Spacemacs: Latex labels not showing in ref

Manually defined labels (without reftex) are not showing when I use helm-completion-at-point inside a \ref{} environment. How to make the labels show? I am new to Emacs and Spacemacs.
0
votes
0answers
31 views

Magit git commit isn't working on spacemacs

After installing Magit in spacemacs. I used Helm to create a git repository. I added some files to stage then tried to commit. Let me know if I'm doing something wrong or it's just an issue. I get: ...
0
votes
1answer
43 views

How to turn off python-mypy in spacemacs flycheck-mode?

I'm using the latest Spacemacs with the Python layer. I'd like to turn off python-mypy in flycheck-mode, but the following in my ~/.spacemacs doesn't work: (defun dotspacemacs/user-config () (add-to-...
0
votes
1answer
42 views

Penguin character in file

I use Spacemacs. I tried to type a command, but I mistyped. Instead of what I intended, a character was inserted that renders as this: I suppose that is Tux. When I try to copy the character, I get ...
0
votes
0answers
14 views

Error (use-package): Cannot load ruby-test-mode

Installed Spacemacs and opened a ruby file. It got this error: Error (use-package): Cannot load ruby-test-mode I have researched on this issue: https://github.com/syl20bnr/spacemacs/commit/...
0
votes
1answer
31 views

Issue while trying to use chemacs

I am currently trying to use chemacs on my computer, following the instructions given on github, but I do not seem to be able to make it work properly. My goal would be to be able to use both Emacs 24....
0
votes
2answers
19 views

How to not let a shell to capture the space key in Spacemacs?

In spacemacs, the space key is used to trigger the command shortcut, and an extra space can lead to a input/search of emacs command. Now I run into this situation: I use SPC b n to switch to next ...
0
votes
0answers
21 views

Column view column widths vary by heading face

I am running a config of the develop branch of spacemacs on two different machines. Configs are similar but not the same. On one box org mode column view looks fine. I think this is because on ...
0
votes
1answer
36 views

Org-mode to Latex matrix automatically escapes ampersand

I am trying to write LaTex matrizes in org-mode. It works fine with exporting tables via #+attr_latex :mode math :environment matrix. However, when I try \begin{pmatrix} 1 & 2\\ 3 & 4\\ \end{...
0
votes
1answer
80 views

spacemacs: How can I disable flymake and flycheck completely, to speed up performance

I’m using spacemacs. I just installed syntax-highlighting layer and auto-completion layer, and now my emacs got really really slow. So slow that going back to PyCharm (IntelliJ) with R-plugin feels ...
1
vote
1answer
30 views

Replace selection in one movement

I'm getting started using spacemacs with vim bindings for editing and one thing I would like to do sometimes is replace some text with some other text. For example I might have k x = (1 + 1) * x and ...
0
votes
0answers
111 views

I broke Spacemacs

After editing my .spacemacs file, spacemacs is saying that there is an unmatched parenthesis and I need to go into startup recovery mode. After looking at the file, I have not found any problems. ...
2
votes
0answers
87 views

How can I see all errors in a Go project with LSP mode?

When opening a Go project with LSP mode, spacemacs / flycheck only shows errors in the current package, not including tests files. For example, in the following project: |- pkg1 |- pkg2 |- cmd When I'...
0
votes
0answers
14 views

how to get out of a (R) repl’s multi-line (multiple-line) / line-continuation mode

My question: In (an R-repl from ESS layer) in spacemacs, I can’t end a multiple-line after I start it myDf %>% # here i hit RET so then the REPL goes into multi line mode: + myDf %>% myDf %&...
1
vote
2answers
54 views

org mode: help!! i’ve collapsed my section and can’t get it back out

I am using spacemacs. This may seem like a joke, but it really is not (but it is kind of funny). I was typing in org-mode just now, I may have hit some god-mode key, and the section I am typing in now ...
0
votes
1answer
21 views

disable table mode using either #+BEGIN_EXAMPLE or ‘:’ literal line , but insert latex math block $ … $

I’m trying to typeset a grammar in org markup, but want to use latex symbols in the grammar: a -> hello | $\neg$ world | universe • Now, without using #+BEGIN_EXAMPLE or : literal-line ...
0
votes
0answers
15 views

Evil and adding a binding for evil-ex-define-cmd globally for tabbar mode

I’m using spacemacs: •  How can I (globally —ie, permanently) bind a new command :tabe to open a new tab in the emacs built-in minor mode TabBar? •  Right now, :tabnew works. But I want to make :tabe ...
0
votes
1answer
18 views

How to add function call highlighting in ESS?

I currently have some syntax highlighting in my ESS code (e.g., for brackets, =, and strings). I would like to add highlighting of function calls, like RStudio's "Highlight R function calls" ...
0
votes
1answer
32 views

Spacemacs, Lisp, Pasting and the missing Space

When editing Lisp or Clojure in Spacemacs (Emacs with Evil) I find the pasting behavior anoying. Say I have yanked bar and want to paste it as a parameter to (foo) so I get (foo bar). The problem is, ...
0
votes
1answer
24 views

When a heading is DONE, I don't see the link

I am using: Spacemacs: 0.200.13 Org: 9.4 I have set org-fontify-done-headline to nil (Original value was t), to no avail. Desired result: Link is displayed as it is in TODO_NEXT state.
0
votes
0answers
13 views

How to stop the need to dotspacemacs/sync-configuration-layers each time upon startup

I start my spacemacs using the command emacs file.txt However, the spacemacs doesn't load any layers at all upon startup (that are specified in dotspacemacs/layers). So I have to run the command M-x ...
0
votes
1answer
52 views

Recreate spacemacs' ivy/projectile 'SPC P SPC' binding for helm/projectile

I recently switched from ivy to helm in spacemacs as my project search/management package. In ivy, there is a keybinding for SPC p SPC that does a search for files in the project (by file name). There ...
0
votes
0answers
15 views

How to set emmet mode in spacemacs startup?

I would like to set emmet-mode on startup for spacemacs. So far I've added this line in my user-configuration layer (setq emmet-mode 0) which does technically turn on emmet-mode each time spacemacs ...
0
votes
0answers
49 views

spacemacs osx layer

I'm trying spacemacs for the first time. Since I'm on mac, I'd like to change command key as Meta, so I put the following code, and restarted emacs. It's not working as expected. When I do Command-x ...
0
votes
0answers
47 views

terminal mode (with -nw) vs gui mode

Now I read lots of good stuff about spacemacs and want to try it out. I like the way iterm2 separates hosts/projects cleanly. Can I use iterm2 + spacemacs (maybe in terminal mode?) Or do I lose most ...
0
votes
1answer
41 views

Setting Spacemacs default conda environment

This question answers where spacemacs looks for conda environments and how to change them with major-mode pyvenv-workon. There's one environment that I use for 90% of what I do. Can I set a default ...
0
votes
1answer
28 views

Company installation error

trying to setup go auto completion (using spacemacs), facing an issue while installing company In end of data: company-tng.el:198:1:Warning: the function ‘eglot--snippet-expansion-fn’ is not known to ...
0
votes
0answers
25 views

How can I remove clipboard from being the default register?

I'm using emacs with evil keybindings (specifically spacemacs). The default behavior of the paste command p is to paste in the clipboard, and default behavior of the delete command d is to put the ...
0
votes
0answers
55 views

Org-agenda is building endlessly when org-id-link in header. How to fix?

A strange problem occurs when I add ord-id-links to my org-headers. My org-agenda is building endlessly. As an example, when I try to build an org-agenda for a file with following content, it takes ...
0
votes
1answer
64 views

Auto insert include guard in cpp header when inside projectile project

I am currently learning C++ and I came across include guards to avoid double inclusion. Now I would like to use the google's style convention like this : // project/src/app.hpp #ifndef ...
0
votes
1answer
38 views

Prompt for stdin via `shell-command`

Sometimes when I copy+paste into my spacemacs over SSH, I get some random garbage that seems to be due to spacemacs interpreting some of the pasted content as commands. In vim, my workaround is to run ...
0
votes
0answers
100 views

org-latex-preview on entering insert mode in spacemacs

I use Spacemacs and org mode for writing latexified notes. There is no custom setup, just the default latex layer. I usually toggle org-latex-preview by C-c C-x C-l. It is annoying, because I must ...
0
votes
0answers
20 views

Adding a Spacemacs layer for “classic” emacs mode

I' trying to wrap https://github.com/hading/chordpro-mode in a layer for Spacemacs. I ran M-x configuration-layer/create-layer and from there followed the documentation: https://www.spacemacs.org/doc/...
0
votes
0answers
69 views

Intermittently undo-tree aborts immediately after I CTL-P undo

Intermittently, I have a problem where I start an undo-tree-mode with C-X u. And as soon as I hit C-p to do an undo, the undo-tree pane closes. This has been happening for a long while now. It happens ...
0
votes
0answers
13 views

Rebind spacemacs/frame-killer (M-m q z) in Emacs mode

I found this useful function to configure an internal Spacemacs command: (evil-leader/set-key “q q” ‘spacemacs/frame-killer) Is there a way to do the same, but using C-x q or C-q q instead? (I'm not ...
1
vote
0answers
41 views

Directly transfer underlined phrases from pdf to org-mode?

I'm learning emacs (on spacemacs) and focusing on orgmode. Is there a way to transfer what you underline in a pdf (like in skim) directly as text in orgmode. In other words, when you underline a ...
1
vote
1answer
62 views

Adding Spacemacs documented layers fails

Adding layers existing in the layer section of the .spacemacs documentation results in failed test in the dot-test-results buffer generated after reloading the .spacemacs file (with SPC-f-e-R). ...
0
votes
1answer
15 views

Spacemacs kept repositioning the cursor when there's unmatched parenthesis

I'm new to Emacs, and there's one thing I don't understand. Suppose there's a file called test.el, which have the following contents: (setq Yes, the parenthesis is not closed, because I haven't ...
1
vote
1answer
38 views

git-blame with spacemacs

I'm trying invoke magit-blame in spacemacs. If I do: SPC g b Then I see a "git-blame" section at the bottom which says: Press [_b_] again to blame further in the history, [_q_] to go up or ...
0
votes
0answers
66 views

How to animate GIFs in org-mode in emacs?

I inserted a GIF in my org file, but it was static, I want to animate it, how can I do it?
1
vote
2answers
147 views

Emacs insane CPU load caused by org-superstar-mode

if I try to open a fairly large file in emacs with org-mode enabled (loads of bullets and babel snippets), emacs uses an insane amount of cpu - my cpu is maxed out for 30 sec or so. I am running a ...
0
votes
3answers
52 views

The global value of a variable I set with setq in my config differs from the local value. How can I get my value to be what I want in every buffer?

I want web-mode-script-padding to be set to 0 at all times. In my config, I have tried both (with-eval-after-load 'web-mode (setq web-mode-script-padding 0) ) As well as simply, (setq web-mode-...
1
vote
1answer
24 views

How to disable `clean-aindent-mode` in spacemacs configuration

I noticed that clean-aindent-mode is messing up the indentation as I am writing python files. Hence, I wanted to disable this mode, at least when using python mode. I can manually disable this mode, ...
0
votes
0answers
32 views

GUI started emacs has different env vars than terminal started one

I wrote LD_LIBRARY_PATH both in .bashrc and .bash_profile. However, if I started emacs in terminal using emacs, LD_LIBRARY_PATH is shown in getenv. If I started it using GUI, there is no such variable....
0
votes
0answers
25 views

spacemacs search and replace - rebind keys to emulate classic emacs

I started using Spacemacs on a Mac recently and to my horror discovered the M-% doesn't bind to query replace, but takes a screenshot instead. How can I reconfigure Spacemacs to behave like classical ...
1
vote
1answer
72 views

prettify-symbols-mode enabled for major mode, but ligatures don't show until toggling prettify on and off

I'm pretty new to emacs and giving it a shot because it seems to be much better integrated with the OCaml tool chain than any other editor. Since OCaml uses a lot of symbols, I want to enable ligature ...
0
votes
1answer
108 views

Can I make projectile open a default file when I switch to a project?

I'm using helm-projectile in spacemacs. SPCpp runs helm-projectile-switch-project, which gives me a helm completion buffer for projectile projects. When I choose a project and hit enter, I then get a ...

1
2 3 4 5
15