New answers tagged spacemacs
0
votes
How to debug my init.el if --debug-init does not help?
Have you tried bug-hunter? It can automatically detect errors in your init file, and when it fails to detect any errors, it helps you isolate the line that triggers it by progressive bisection of the ...
1
vote
Accepted
How to make :q, in spacemacs' evil mode, kill the buffer and delete the window, but not kill Emacs?
The commands entered by pressing : are, similar to vim, called 'evil-ex-commands'. How to remap them is described in this issue. For your case, you probably want:
(global-set-key [remap evil-quit] '...
0
votes
How to always work from a daemon and always reuse an existing frame? (bonus: do it with chemacs2)
I'll probably mark Tyler's answer as the selected answer, but I'm not able to test it, as that relies on a commit from Nov-2021, targeted at Emacs 29.1, which introduces a new switch --reuse-frame/-r. ...
1
vote
How to always work from a daemon and always reuse an existing frame? (bonus: do it with chemacs2)
Emacsclient reuses an existing frame by default. If you don't want to create a new frame, then don't ask Emacs to create a new frame - don't use the --create-frame argument.
Set --alternate-editor=&...
1
vote
Org Koma Letter export return args-out-of-range error
As the project page states, the project has bugs and the maintainer does not have enough time to fix them. I would suggest that you find the place in your init file(s) where you add the function ...
0
votes
Accepted
How can I see all errors in a Go project with LSP mode?
There is a package flycheck-projectile which lists all errors in the package.
It takes a bit of time to load, but then in watches for changes and it's very fast.
1
vote
Accepted
How to selectively enable flyspell-mode?
The doc string of flyspell-mode-on says it all:
Turn Flyspell mode on. Do not use this; use ‘flyspell-mode’ instead.
The canonical way for switching Flyspell on in Orgmode is:
(add-hook 'org-mode-...
0
votes
How to load a particular layout (perspective) on startup in spacemacs?
Try to put the following in your user-config, Though I don't know why it open *scratch* buffer
(add-hook 'persp-mode-hook
(lambda ()
(persp-load-state-from-file)
...
0
votes
Dynamic Keybind Without Use of Macro
I don't use Spacemacs. Does this do what you want?
(defun bind-current-file ()
`(spacemacs/set-leader-keys "of" (lambda ()
(interactive)
...
2
votes
Accepted
Dynamic Keybind Without Use of Macro
There are a couple of other options. With lexical bindings, you could do this:
(defun bind-current-file ()
(let (the-file (buffer-file-name))
(spacemacs/set-leader-keys "of"
(...
2
votes
Accepted
How do I add custom keybindings in spacemacs?
For spacemacs, the canonical way to make small modification as such is to put your configs inside the defun of dotspacemacs/user-config inside ~/.spacemacs file.
If this is the first time you make ...
0
votes
Align columns in Org Mode with Korean letters
I'm more than three years late, but it can be fixed using face-font-rescale-alist.
For instance, with JuliaMono 15pt, D2Coding font can be scaled x1.2 to match the width:
(set-frame-font "...
1
vote
Accepted
How to fix font on start page in spacemacs?
Try M-x and run all-the-icons-install-fonts and see if it resolves your issue.
0
votes
Accepted
Why emacs editor changes indent automatically when copy a context into it?
maybe you have enabled better-defaults layer in spacemacs, if so, then it will automatically indent when you paste (yank).
In order to paste (yank) without indenting, then prefix the command with C-u
...
1
vote
Trouble setting up dap for python in Spacemacs
With help from the spacemacs gitter room I was able to get it working. Here is the solution:
Spacemacs doesn't use ptvsd anymore and uses debugpy instead, so I did this:
pip uninstall ptvsd
pip ...
0
votes
How to change indent size for typescript layer in Spacemacs?
I ran into the same problem with .tsx files. Turns out you also have to set the variable web-mode-code-indent-offset to your preferred indent level as well.
If you go M-x customize then search for ...
Top 50 recent answers are included
Related Tags
spacemacs × 789org-mode × 98
evil × 79
key-bindings × 60
python × 36
osx × 27
helm × 26
init-file × 21
magit × 18
indentation × 18
package × 18
latex × 15
microsoft-windows × 15
themes × 15
debugging × 14
tramp × 12
fonts × 12
flycheck × 12
package-repositories × 11
projectile × 11
lsp-mode × 11
buffers × 10
emacsclient × 10
search × 10
mode-line × 10