Skip to content

(N)Vim has the superior keybindings, and Emacs has all the mojo. Here's my evil bastard config.

License

Notifications You must be signed in to change notification settings

monkeyjunglejuice/doom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doom Emacs config with Vim keybindings

How to install Emacs on MacOS

1. Install Emacs Plus from Homebrew:

Prerequisites:

# required dependencies
brew install git ripgrep \
# optional dependencies
brew install coreutils fd \
# Installs clang
xcode-select --install

Install Emacs:

https://github.com/d12frosted/homebrew-emacs-plus

brew install d12frosted/emacs-plus/emacs-plus \
    --with-no-frame-refocus \
    --with-xwidgets \
    --with-imagemagick \
    --with-native-comp \
    --with-c9rgreen-sonoma-icon

Create the Emacs.app alias in /Applications; adapt the version number in the file path if necessary:

osascript -e 'tell application "Finder" to make alias file to posix file "/usr/local/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'

The Emacs.app maybe blocked due to MacOS security mechanisms. Apply the following commands to the actual app file (not to the alias in the /Applications directory):

xattr -c /usr/local/opt/emacs-plus@29/Emacs.app
sudo codesign --force --deep --sign - /usr/local/opt/emacs-plus@29/Emacs.app

How to install the Doom Emacs distribution

Check the requirements and perform the installation

https://github.com/doomemacs/doomemacs/blob/master/docs/getting_started.org

git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.doom
~/.emacs.doom/bin/doom install

Add the directory ~/.emacs.doom/bin to the PATH variable: Issue the following command if you’re using fish as your shell …

fish_add_path -U -v ~/.emacs.doom/bin

… and/or add the following line to either ~/.zprofile (Zsh), ~/.profile or ~/.bash_profile (Bash):

PATH="$HOME/.emacs.d/bin:$PATH"

How to install this Doom Emacs config

After Doom Emacs has been installed, synced and started at least once, make sure to delete any of ~/.doom.d and ~/.config/doom:

rm -rf ~/.doom.d && rm -rf ~/.config/doom

Very likely, only first one of these directories exists, hence the command may display an error, but succeed nevertheless.

Clone the Git repository into the right place, either: …

About

(N)Vim has the superior keybindings, and Emacs has all the mojo. Here's my evil bastard config.

Topics

Resources

License

Stars

Watchers

Forks