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.

47 lines
1020 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. ** Magit
  10. #+BEGIN_SRC emacs-lisp
  11. (use-package magit
  12. :bind (("C-x g" . magit-status)))
  13. (use-package git-commit
  14. :hook (git-commit-setup . git-commit-turn-on-flyspell))
  15. #+END_SRC
  16. ** Python
  17. *** Platform specific
  18. #+BEGIN_SRC emacs-lisp
  19. (cond
  20. ((string-equal system-type "gnu/linux")
  21. "python3")
  22. ((string-equal system-type "windows-nt")
  23. "python.exe"))
  24. #+END_SRC
  25. *** custom feature
  26. *** bindings/settings
  27. #+begin_src emacs-lisp
  28. (use-package blacken
  29. :hook python-mode)
  30. (use-package elpy
  31. :bind (("C-=" . elpy-goto-assignment))
  32. :config
  33. (when (require 'flycheck nil t)
  34. (setq elpy-modules (delq 'elpy-module-flymake elpy-modules)))
  35. )
  36. (use-package python
  37. :config
  38. (elpy-enable))
  39. #+END_SRC
  40. ** Tramp
  41. ** Webmode
  42. * Minor modes/misc
  43. ** Lispy
  44. #+BEGIN_SRC emacs-lisp
  45. (use-package lispy
  46. :hook ((emacs-lisp-mode) . lispy-mode))
  47. #+END_SRC