/emacs.d

I'd rather be writing Lisp

Primary LanguageEmacs Lisp

bayprogrammer’s emacs.d

My old .emacs.d was imploding under its own weight. I’m starting over here.

Why Emacs? Why not Vim?

I do use Vim, but I’d rather use Emacs. I do write JavaScript, Python, and other things; but I’d rather write Lisp (and Lisp-aligned languages such as Ruby and Elixir). Therefore I prefer Emacs Lisp to VimScript and Lua. Therefore I prefer Emacs to Vim.

Also Emacs has far nicer and more ergonomic keybindings than Vim. 🧌

Reference

Emacs Proper

Org Mode

Emacs Configs

Emacs Scripts

#!/bin/sh
":"; exec emacs --quick --script "$0" -f "main" -- "$@" # -*- mode: emacs-lisp; lexical-binding: t; -*-

(require 'cl-lib)

(defun greet ()
  (princ "Hello, world.\n"))

(defun main ()
  (greet))

Install

$ ln -s $(pwd) ${HOME}/.emacs.d