Doom Emacs
Learning Doom Emacs
Section titled “Learning Doom Emacs”Sources:
- DistroTube Doom Emacs
Videos
(mostly top 20 videos)
- What Are The Benefits Of Emacs Over Vim?
- Emacs Doom Screencasts by Zaiste Programming (select videos you don’t know about)
Doom Emacs On Day One (Learn These Things FIRST)
Section titled “Doom Emacs On Day One (Learn These Things FIRST)”Source: https://www.youtube.com/watch?v=37H7bD-G7nE
-
Emacs Daemon, Server
- Can add start up on desktop startup:
- Look for Start up applications
- Add example /usr/bin/emacs –daemon
- Restart session
- Launch emacsclient -c -a ‘emacs’
- Launching emacsclient easier:
- In shell: alias emacs=emacsclient -c -a ‘emacs’
- In desktop: add emacsclient.desktop
- Can add start up on desktop startup:
-
Open / find files
- Can use vim way with :e <file> with tab completion
- Use find-file or SPC .
- Find recent files: SPC f r
-
Split screen:
- Evil: split - C-w v, return to other split - C-w w
- Doom: vertical split - SPC w v, close - SPC w c, other split - SPC w w
-
Kill buffer: SPC b k
-
Spelling and Languages support in Doom:
init.el
-
Reload Doom configurations after init.el changes:
doom-reload
or SPC-h-r-r -
Configurations in Doom:
config.el
- Add packages
-
Buffer management and switching
- ibuffer: SPC-b-i
- switch buffer: SPC-<
-
dired file manager
-
Terminals: recommend using - vterm or eshell
Installing Doom Emacs
Section titled “Installing Doom Emacs”# Install Doomcd ~/.configgit clone https://github.com/doomemacs/doomemacs.git emacscd ~/.config/emacs/bin/doom install
# Start Emacs from Doom configurationemacs## oremacs --init-directory ~/.config/emacs
### Other Commands
# Upgradedoom upgrade# Upgrade only your packagesdoom upgrade --packages# Build after Emacs version upgradesdoom build# Check health of Doom and dependenciesdoom doctor