Personal emacs config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
833 B

  1. * Editing
  2. * Unix buffer things
  3. ** Platform fixes
  4. ** Key bindings
  5. ** Custom features/Monkey patches
  6. * Major modes
  7. ** Java
  8. ** JavaScript
  9. ** Python
  10. *** Platform specific
  11. #+BEGIN_SRC emacs-lisp
  12. (cond
  13. ((string-equal system-type "gnu/linux")
  14. "python3")
  15. ((string-equal system-type "windows-nt")
  16. "python.exe"))
  17. #+END_SRC
  18. *** custom feature
  19. *** bindings/settings
  20. #+begin_src emacs-lisp
  21. (use-package blacken
  22. :hook python-mode)
  23. (use-package elpy
  24. :bind (("C-=" . elpy-goto-assignment))
  25. :config
  26. (when (require 'flycheck nil t)
  27. (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)))
  28. )
  29. (use-package python
  30. :config
  31. (elpy-enable))
  32. #+END_SRC
  33. ** Tramp
  34. ** Webmode
  35. * Minor modes/misc
  36. ** Lispy
  37. #+BEGIN_SRC emacs-lisp
  38. (use-package lispy
  39. :hook ((emacs-lisp-mode) . lispy-mode))
  40. #+END_SRC