EMACS
Pre-Install Config
# blow away old stuff
rm -rf ~/.emacs.d
rm -rf ~/.spacemacs
rm -rf ~/.spacemacs.env
rm -rf ~/.spacemacs.d
brew uninstall emacs-plus
Install on MacOS
brew tap d12frosted/emacs-plus
# install latest stable release, with Spacemacs icon and native compilation
brew install emacs-plus --with-spacemacs-icon --with-native-comp
# or
brew install emacs-plus --with-EmacsIcon6-icon --with-native-comp
Add Spacemacs preset
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
Run on MacOS
# run emacs
open -a /opt/homebrew/opt/emacs-plus@29/Emacs.app
# accept spacemacs config defaults and then wait for ages for it to download everything
Config
next is configuring it:
all config is in ~/.spacemacs
i have the following “layers” so I add these to the layers section:
(lsp :variables lsp-solargraph-use-bundler t)
auto-completion
better-defaults
csv
emacs-lisp
emoji
git
helm
html
javascript
markdown
lua
org
osx
react
ruby
ruby-on-rails
rust
shell
shell-scripts
spell-checking
sql
syntax-checking
treemacs
version-control
yaml
Leave a comment