.emacs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. (message "init.el ran")
  2. ; George Jones' ~/.emacs.d/init.el
  3. (setq debug-on-error t) ;; uncomment when there are problems
  4. (require 'package)
  5. ; Add MELPA (in addditon to ELPA and non-GNU ELPA)
  6. (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
  7. ;; Packages installed as of 2022-01-15
  8. ;;
  9. ;; cyberpunk-theme 1.22 installed Cyberpunk Color Theme
  10. ;; guide-key 20150108.635 installed Guide the following key bindings automatically and dynamically
  11. ;; helm 20220114.1641 installed Helm is an Emacs incremental and narrowing framework
  12. ;; htmlize 1.57 installed Convert buffer text and decorations to HTML.
  13. ;; magit 3.3.0 installed A Git porcelain inside Emacs
  14. ;; notmuch 20220114.2112 installed run notmuch within emacs
  15. ;; org-contrib 0.3 installed Unmaintained add-ons for Org-mode
  16. ;; ox-hugo 20220114.1941 installed Hugo Markdown Back-End for Org Export Engine
  17. ;; pass 20210203.810 installed Major mode for password-store.el
  18. ;; password-store 20200328.1214 installed Password store (pass) support
  19. ;; popwin 20210215.1849 installed Popup Window Manager
  20. ;; which-key 3.5.1 installed Display available keybindings in popup
  21. ; activate all the packages (in particular autoloads)
  22. (package-initialize)
  23. ; Load xah-fly-keys early 'case its my fingers default now
  24. ;; (add-to-list 'load-path "~/public/github/xah-fly-keys")
  25. (require 'xah-fly-keys)
  26. (xah-fly-keys-set-layout "qwerty")
  27. (xah-fly-keys 1)
  28. (global-set-key (kbd "<home>") 'xah-fly-insert-mode-activate)
  29. ; The fun starts here !!!
  30. ; pull in my main .org init file.
  31. ;
  32. (org-babel-load-file "~/.emacs.d/george.org")
  33. ; because junk I don't want to share in git keeps showing up here
  34. (setq custom-file "~/elisp-secret/emacs-custom.el")
  35. ; Create empty custom file if it does not exist
  36. (when (not (file-exists-p custom-file))
  37. (with-temp-buffer (write-file custom-file)))
  38. (load custom-file)
  39. (put 'downcase-region 'disabled nil)
  40. (message "init.el finished.")