In my Emacs configuration I capture…pretty much everything for the sake of documentation and customization.
I'll also be looking to make wider use of some of these settings which will be covered as it happens.
I'll be starting with some fairly raw elisp and refining it from there. I'll likely shift many things over to be more declarative as I go while tryingto avoid too many elisp idiosyncracies.
(bind-key "a" #'self-insert-command)
(bind-key "b" #'self-insert-command)
(bind-key "c" #'self-insert-command)
(bind-key "d" #'self-insert-command)
(bind-key "e" #'self-insert-command)
(bind-key "f" #'self-insert-command)
(bind-key "g" #'self-insert-command)
(bind-key "h" #'self-insert-command)
(bind-key "i" #'self-insert-command)
(bind-key "j" #'self-insert-command)
(bind-key "k" #'self-insert-command)
(bind-key "l" #'self-insert-command)
(bind-key "m" #'self-insert-command)
(bind-key "n" #'self-insert-command)
(bind-key "o" #'self-insert-command)
(bind-key "p" #'self-insert-command)
(bind-key "q" #'self-insert-command)
(bind-key "r" #'self-insert-command)
(bind-key "s" #'self-insert-command)
(bind-key "t" #'self-insert-command)
(bind-key "u" #'self-insert-command)
(bind-key "v" #'self-insert-command)
(bind-key "w" #'self-insert-command)
(bind-key "x" #'self-insert-command)
(bind-key "y" #'self-insert-command)
(bind-key "z" #'self-insert-command)
(bind-key "A" #'self-insert-command)
(bind-key "B" #'self-insert-command)
(bind-key "C" #'self-insert-command)
(bind-key "D" #'self-insert-command)
(bind-key "E" #'self-insert-command)
(bind-key "F" #'self-insert-command)
(bind-key "G" #'self-insert-command)
(bind-key "H" #'self-insert-command)
(bind-key "I" #'self-insert-command)
(bind-key "J" #'self-insert-command)
(bind-key "K" #'self-insert-command)
(bind-key "L" #'self-insert-command)
(bind-key "M" #'self-insert-command)
(bind-key "N" #'self-insert-command)
(bind-key "O" #'self-insert-command)
(bind-key "P" #'self-insert-command)
(bind-key "Q" #'self-insert-command)
(bind-key "R" #'self-insert-command)
(bind-key "S" #'self-insert-command)
(bind-key "T" #'self-insert-command)
(bind-key "U" #'self-insert-command)
(bind-key "V" #'self-insert-command)
(bind-key "W" #'self-insert-command)
(bind-key "X" #'self-insert-command)
(bind-key "Y" #'self-insert-command)
(bind-key "Z" #'self-insert-command)
(bind-key "1" #'self-insert-command)
(bind-key "2" #'self-insert-command)
(bind-key "3" #'self-insert-command)
(bind-key "4" #'self-insert-command)
(bind-key "5" #'self-insert-command)
(bind-key "6" #'self-insert-command)
(bind-key "7" #'self-insert-command)
(bind-key "8" #'self-insert-command)
(bind-key "9" #'self-insert-command)
(bind-key "0" #'self-insert-command)
(bind-key "~" #'self-insert-command)
(bind-key "`" #'self-insert-command)
(bind-key "!" #'self-insert-command)
(bind-key "@" #'self-insert-command)
(bind-key "#" #'self-insert-command)
(bind-key "$" #'self-insert-command)
(bind-key "%" #'self-insert-command)
(bind-key "^" #'self-insert-command)
(bind-key "&" #'self-insert-command)
(bind-key "*" #'self-insert-command)
(bind-key "(" #'self-insert-command)
(bind-key ")" #'self-insert-command)
(bind-key "-" #'self-insert-command)
(bind-key "_" #'self-insert-command)
(bind-key "=" #'self-insert-command)
(bind-key "+" #'self-insert-command)
(bind-key "[" #'self-insert-command)
(bind-key "]" #'self-insert-command)
(bind-key "{" #'self-insert-command)
(bind-key "}" #'self-insert-command)
(bind-key "|" #'self-insert-command)
(bind-key "\\" #'self-insert-command)
(bind-key ":" #'self-insert-command)
(bind-key ";" #'self-insert-command)
(bind-key "'" #'self-insert-command)
(bind-key "\"" #'self-insert-command)
(bind-key "," #'self-insert-command)
(bind-key "<" #'self-insert-command)
(bind-key "." #'self-insert-command)
(bind-key "<" #'self-insert-command)
(bind-key "/" #'self-insert-command)
(bind-key "?" #'self-insert-command)
(bind-key "SPC" #'self-insert-command)
(bind-key "DEL" #'delete-backward-char)
(bind-key "<return>" #'newline)
(bind-key "C-a" #'beginning-of-line)
(bind-key "C-l" #'recenter-top-bottom)
(bind-key "C-n" #'next-line)
(bind-key "C-p" #'previous-line)
(bind-key "M-}" #'forward-paragraph)
(bind-key "C-x b" #'switch-to-buffer)
(bind-key "C-x C-s" #'save-buffer)
(bind-key "C-x o" #'other-window)
(bind-key "C-h b" #'describe-bindings)
(bind-key "C-h h" #'describe-key)
(bind-key "C-h l" #'view-lossage)
(bind-key "<return>" #'minibuffer-complete-and-exit 'minibuffer-local-completion-map)
(bind-key "<tab>" #'minibuffer-complete 'minibuffer-local-completion-map)
org-agenda-files
can be set to reference org files or
containing directories. Sometimes (maybe through customize?) using
directories seems to lead to expansion to the underlying files which may
be more efficient(?) but doesn't help if new files are added. Using
elisp directly avoids this problem. The specific values would vary
across systems so is not included here, but generally this should be
something along the lines of:
(setq org-agenda-files (list "~/Documents/pod" some-other-dir))
I use the agenda primarily as a continuous TODO list, so I only want to see today by default.
(setq org-agenda-span 'day)
(bind-key "g" #'org-agenda-redo-all 'org-agenda-mode)
(unbind-key "C-x C-x")
(bind-key "C-x C-x g" #'gnus)
(bind-key "C-x C-x s" #'flyspell-mode)
(bind-key "C-x C-x a" #'org-agenda)
(setq gnus-select-method '(nnimap "imap.gmail.com"))