Questions tagged [doom]

Doom is a configuration framework for GNU Emacs tailored for users who want less framework in their frameworks and the performance of a hand rolled config (or better). It can be a foundation for your own config or a resource for Emacs enthusiasts to learn more about our favorite OS. https://github.com/hlissner/doom-emacs

Filter by
Sorted by
Tagged with
7 votes
1 answer
2k views

DOOM Emacs: Error running hook "global-git-commit-mode" because: (void-variable transient-base-map)

Full error (on the bottom line): Error (doom-first-file-hook): Error running hook "global-git-commit-mode" because: (void-variable transient-base-map) Hello! I'm running this on an M1 chip ...
Krys's user avatar
  • 95
7 votes
1 answer
1k views

Packages I never knew they existed cause problems

I'm using Kubuntu 22.04 and I tried to configure my doom-emacs Installation. Then I got these weird error-messages and couldn't figure out how to fix them. So I uninstalled doom and emacs completely ...
Tom Riddle's user avatar
6 votes
1 answer
9k views

Key bindings For Doom Emacs

I am trying to start using Doom Emacs, but I find it increasingly difficult to find what the new key bindings are for certain tasks, like the ones for using Org Mode. When I use vanilla Emacs, there ...
Adam's user avatar
  • 2,427
5 votes
3 answers
2k views

How can I get `+vterm/toggle` to popup from the right side of the screen instead of from the bottom?

I am using Doom Emacs, and I frequently use the vterm popup/toggle functionality (defined as +vterm/toggle here, which is used, as the name suggests, to toggle a vterm buffer. The default behavior is ...
Jacob Pavlock's user avatar
5 votes
1 answer
2k views

Why do many buffer switching commands in Doom Emacs skip over buffers that aren't visiting files? How can it be prevented?

In Doom Emacs many commands that replace the buffer in the current window with a different buffer will automatically select the most recent buffer that you have had open in a window. But buffers that ...
kevincasey's user avatar
5 votes
1 answer
3k views

Cannot set correct size for variable pitch font in Doom Emacs

I am trying to use a variable-pitch font for Org-mode: (add-hook! 'org-mode-hook #'mixed-pitch-mode) I am specifying a variable pitch font that is normally renders much smaller than the fixed pitch ...
ajallooe's user avatar
  • 103
5 votes
1 answer
1k views

Opening a file from a new/different Projectile project in the same workspace in Doom Emacs

If I'm working on one project and I switch over to a buffer from another the default behavior of Doom Emacs seems to be to open the new buffer in a new workspace (when workspaces are enabled). I want ...
Dargscisyhp's user avatar
5 votes
1 answer
865 views

Using emacs for ruby development with asdf version manager

I have installed a (doom) emacs to start developing with Ruby. So far I have mainly used Sublime Text but because of reasons I want to give emacs a chance. I tried Spacemacs too but uninstalled this ...
Gernot's user avatar
  • 151
4 votes
1 answer
3k views

error while loading shared libraries: libpoppler.so.101: cannot open shared object file: No such file or directory

Running Doom Emacs 2.0.9 on Emacs 27.1 on Manjaro KDE. When I compile a latex documents, it produces a PDF file and opens an emacs window to display it. But what is displayed is some text and not the ...
deshmukh's user avatar
  • 1,862
4 votes
1 answer
2k views

Automatically activating python virtual environments with pyvenv

I am using pyvenv with doom and am trying to have my python virtual environments automatically loaded when I enter a certain project. I saw this relevant issue on pyvenv and have added the following ...
Jacob Pavlock's user avatar
4 votes
0 answers
307 views

Definitions for Project, Session, Workspace, Perspective,

Is there a nice definition list for the following concepts and more? project (projectile vs. emacs?) session (just doom emacs?) workspace (just doom emacs?) perspective lsp-session lsp-workspace ... ...
Witek's user avatar
  • 335
3 votes
1 answer
1k views

How to copy commit hash from Magit status buffer?

After I open a Magit status buffer and make a commit, I commonly also want to copy that commit's hash (the shortened version) to my clipboard to post somewhere else. I can't work out how this should ...
SLesslyTall's user avatar
3 votes
2 answers
1k views

Couldn't resize project sidebar is doom emacs

I'm using doom emacs. I've enabled treemacs in ~/.doom.d/init.el I couldn't resize the project sidebar. I have tried this mac OS and opensuse 15.1 I get message <left-fringe> <mouse-drag-1&...
Rajkumar Natarajan's user avatar
3 votes
1 answer
1k views

how to set ranger to be default mode in dired in Doom emacs?

I'm new to doom emacs and I like it but I'm still new, so I saw this package called ranger that is a minor mode inside emacs and I want to make it run by default whenever I open dired. The ...
ezio's user avatar
  • 131
3 votes
1 answer
158 views

How can I set a buffer-local variable (format-all-mode) to nil within .dir-locals.el? (using Doom emacs)

I have a project where I want to disable format-all-mode for all my python files. I can do this manually by running M-x format-all-mode every time I open up a python file for that project. I tried ...
modulitos's user avatar
  • 2,452
3 votes
1 answer
450 views

Auto-saving after lsp refactor

When I use lsp-rename function, the edited files are not saved automatically and I have to manually save them. Is this an expected behavior and, is it possible to change this? (I use emacs 27.2, with ...
Kamyab's user avatar
  • 41
3 votes
1 answer
873 views

How to activate a remote Python conda environment with Tramp / SSH?

I'm using Doom Emacs 27.2 on linux. I have (python +lsp +pyright +conda +cython) in my init file and (setq conda-anaconda-home "~/miniconda") in config.el. I can activate local conda env by ...
0xLN's user avatar
  • 31
3 votes
0 answers
347 views

How to get the last project search results?

When searching in project with +default/search-project after opening a result. How do I get back to the previous search results? And ideally to the same position in the results list? The usecase: ...
Witek's user avatar
  • 335
3 votes
2 answers
3k views

FiraCode font not rendering italics

I have been trying to get FiraCode to work inside of Doom Emacs and have mostly succeeded. Everything works except for italics, even bold and ligatures are fine strangely enough. When I switch to ...
destroyer449's user avatar
2 votes
1 answer
2k views

doom emacs "Symbol's function definition is void: make-treemacs-theme"

I'm using doom emacs with current commit c83e5e75e24706a0d6c15f3156d33b1c4f9dc365. When I do SPC o p I get error Symbol's function definition is void: make-treemacs-theme Below is the screenshot - ...
Rajkumar Natarajan's user avatar
2 votes
1 answer
74 views

Doom Emacs does not correctly render the colors on ssh terminal

What happened? This is a problem that I was never able to solve and I always try to switch on another editor when I am coding on my remote machine. However, I think that I solution should be somewhere ...
vincenzopalazzo's user avatar
2 votes
1 answer
631 views

No colored png icons in treemacs (Doom Emacs)

After reinstalling Doom Emacs several times I can’t find any way to make treemacs use the colored png icons of it’s own default theme. I always get monochrome icons. How do I solve this?
Mountain's user avatar
  • 121
2 votes
1 answer
702 views

Org mode tag column setting is ignored

Running Doom Emacs v 2.0.9. My ~/.doom.d/init.el contains: (custom-set-variables '(org-tags-column -80) ) When I add tags using counsel-org-tag, the tag alignment in the current headline is ...
deshmukh's user avatar
  • 1,862
2 votes
2 answers
409 views

Why do I have Chinese/Mandarin characters in my mode-line and e-shell out of the blue? How do I fix this?

I have been using Emacs for a while. As you can see in my config file (whole file), there is a snippet to provide a Doom mode line: (use-package doom-modeline :init (doom-modeline-mode 1) :custom (...
Pedro Delfino's user avatar
2 votes
1 answer
614 views

Add quotes or brackets around selection in doom-emacs

I used to use Spacemacs and it had this nifty feature where a selection could be bracketed with quotes, parentheses or any similar pair characters by simply pressing the character. So UpdateJob could ...
TheGeorgeous's user avatar
2 votes
1 answer
160 views

Elpher loads for Gopher but not Gemini using Doom Emacs

I am using the most up to date version of Doom Emacs, and I am trying to use Elpher to access Gemini pages. While it loads up Gopher pages just fine, any time I try to pull up a Gemini page I get a &...
Dargscisyhp's user avatar
2 votes
1 answer
856 views

Doom-emacs - How to align chinese characters in org-tables

I'm trying out doom emacs for the first time (previously was using spacemacs). I've run into an issue where chinese characters are not aligned in org mode tables. For example: | Character | Pingyin ...
Ishmael7's user avatar
2 votes
1 answer
136 views

How to suppress the save buffer message in the minibuffer in Doom Emacs? (using Emacs 27)

I'm using the super-save package which saves the buffer when an Emacs frame loses focus and it's spamming the minibuffer with 'file written' messages, which gets distracting. I want to suppress this ...
Hyperfocus's user avatar
2 votes
1 answer
1k views

Leave evil's insert state with Control + c

I would like to be able to leave the insert state (I think that's what it's called in emacs?) using the Ctrl+c combination I know from vim. I'm using doom-emacs in case that's important, and I'm ...
b3nj4m1n's user avatar
  • 195
2 votes
1 answer
327 views

How to copy the search result (using Swiper) from search buffer in doom emacs?

I search the line containing rowid in the buffer, and want to copy all the lines in the result window. How to do that?
Daniel Wu's user avatar
2 votes
2 answers
497 views

How do I make org capture prompt for specific header target?

I need help writing a function that makes Org Capture prompt me of what it should place the capture to a specified header in my tasks org file (basically I need it to search through the specified org ...
Nova Leary's user avatar
2 votes
1 answer
243 views

nov.el follow link to .epub in other window instead of having a new buffer in the same window

When I try to follow a link [[nov:path/to/epub/ebook.epub][link]] in nov-mode (defined in nov.el) under Doom Emacs, it always opens the file on a new buffer, replacing the org file where the link sits ...
Sati's user avatar
  • 775
2 votes
1 answer
507 views

How to override the :hook section of a use-package declaration

I am attempting to change the :hook section of a use-package declaration that I cannot directly modify. In my case, I want to remove hooks that are getting set, not just add more hooks. Is there a way ...
eeowaa's user avatar
  • 342
2 votes
1 answer
600 views

How to set major mode localleader keybinding to both `SPC m` and `comma` in Doom

I want to be able to use both SPC m and , as major mode localleader keybinding in Doom. With my current Doom setup, I can only use , as localleader key. SPC m is undefined currently.
Mert Nuhoglu's user avatar
2 votes
1 answer
2k views

Adding a custom keybinding in Doom Emacs

I am using evil-mode and am very new to emacs and doom. How would I be able to map Ctrl-s to :w or save. Also, how would I be able to bind Ctrl-n to neotree-toggle? I have been searching and trying ...
abhinav chavali's user avatar
2 votes
1 answer
256 views

Emacs not indenting enum / enum class contents

I've got a small problem to do with Doom Emacs / Emacs. Enum contents are not indented at all... Here's what I would like: enum class RandomEnum { A, B, C, D }; Here's what I get: ...
Krys's user avatar
  • 95
2 votes
2 answers
2k views

Make Evil Mode "s" key behave like Vim

Doom Emacs' s key does not behave like Vim's implementation. In Vim, s deletes the character under the cursor and puts you into insert mode whereas Evil Mode performs a search, similar to f and t. Is ...
zakrywilson's user avatar
2 votes
1 answer
523 views

Disable Prettify-Symbols for C-mode

I'm using doom emacs. It enables prettify-symbols in all modes (I think) by default, although I would like to disable it in c-mode. I have placed the following in my config.el file: (add-hook 'c-mode-...
Aronurr64's user avatar
2 votes
0 answers
73 views

overlay makes text unreadable -- where does it come from? Overlay face is "undefined face"

There is an overlay making parts of stack traces in my inferior python buffers very difficult to read: I would like to change the coloring of the yellow part of line 42. If I run M-x describe-char ...
Timothy W. Hilton's user avatar
2 votes
1 answer
985 views

How can I display tabs and spaces in Doom Emacs?

I have tried M-x whitespace-mode but it does not do anything.
BigBoy1337's user avatar
2 votes
3 answers
1k views

How can I rebind keys in pdf-mode, using Doom?

I'm really struggling to remap some keys in pdf-view-mode. This is what I have so far: ;; Unbind keys; see https://github.com/hlissner/doom-emacs/blob/develop/docs/faq.org#my-new-keybinds-dont-work (...
Jonathan's user avatar
  • 577
2 votes
1 answer
183 views

What is the sequence/chord/key used to backspace an Emacs Command

In Doom Emacs, I pressed SPC then pressed p instead of o. If I press Backspace key then it becomes DEL instead of backspacing p. This means Backspace key is one of the chords. How am I supposed to do ...
Lord Victor's user avatar
2 votes
2 answers
3k views

How to use doom emacs as a golang ide quickly?

I installed the newest doom emacs on macOS. Also configed language packages as $ emacs ~/.doom.d/init.el :lang (go +lsp) :tools lsp $ ~/.emacs.d/bin/doom sync When I open a .go file, the code became ...
warmwinter's user avatar
1 vote
1 answer
979 views

Org Roam Database Missing

Running Doom Emacs 2.0.9 on Emacs 27.1. I have in installation of org-roam with the following set-up: (setq org-roam-directory "~/Documents/organize/org-mode") FWIW, I use the same ...
deshmukh's user avatar
  • 1,862
1 vote
2 answers
372 views

Capturing output scheme when executing a code block in org-mode

I cannot find a way to intercept the output when I evaluate a scheme code block as below (I'm trying with Geiser): #+NAME: test #+BEGIN_SRC scheme :session sicp :lexical t :results output verbatim ...
pfmaggi's user avatar
  • 113
1 vote
1 answer
497 views

File local variables doesn't work

I tried putting a local file variable in an org mode file: # -*- mode:org; coding:utf-8; org-duration-format: h:mm; -*- but when I open this file the variable has the original value and not the one I ...
DPD-'s user avatar
  • 251
1 vote
1 answer
222 views

What is the init.el in doom emacs?

I recently installed doom emacs and really like how much it is developed. The problem I encounter is the following: I want to add LSP-support for emacs. On the website, it is illustrated how I can ...
MySQLInjection's user avatar
1 vote
3 answers
97 views

Seamlessly replace a keyboard input key sequence

I need something like abbrev, just without any extra spaces, including spaces which trigger the replacement. I experimented with keyboard shortcuts, like this: ;;(general-auto-unbind-keys) (global-set-...
Alexey Orlov's user avatar
1 vote
2 answers
1k views

How to properly use consult-ripgrep to search through org-roam notes

I am trying to setup a way to systematically search through all my org-roam notes and I came across the following code that uses consult-ripgrep: (defun bms/org-roam-rg-search () "Search org-...
user39286's user avatar
1 vote
1 answer
330 views

Disable Doom Emacs auto pairs

I'm new to Doom Emacs and Emacs in general and the problem I have with it is that it pairs characters automatically, for example when I want to insert single double quote sign like this " it ...
user0's user avatar
  • 11

1
2 3 4 5