summaryrefslogtreecommitdiffstats
path: root/Emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs.org')
-rw-r--r--Emacs.org43
1 files changed, 37 insertions, 6 deletions
diff --git a/Emacs.org b/Emacs.org
index f2a3c34..3fabb47 100644
--- a/Emacs.org
+++ b/Emacs.org
@@ -370,13 +370,14 @@
370 370
371#+begin_src emacs-lisp 371#+begin_src emacs-lisp
372 372
373 (jd/leader-key-def 373 (jd/leader-key-def
374 "e" '(:ignore t :which-key "Eval") 374 "e" '(:ignore t :which-key "Eval")
375 "eb" '(eval-buffer :which-key "Eval buffer")) 375 "eb" '(eval-buffer :which-key "Eval buffer")
376 "ee" '(eval-defun :which-key "Eval defun"))
376 377
377 (jd/leader-key-def 378 (jd/leader-key-def
378 :keymaps '(visual) 379 :keymaps '(visual)
379 "er" '(eval-region :which-key "Eval region")) 380 "er" '(eval-region :which-key "Eval region"))
380 381
381#+end_src 382#+end_src
382 383
@@ -657,6 +658,36 @@
657 658
658#+end_src 659#+end_src
659 660
661*** Lisp
662
663#+begin_src emacs-lisp
664
665 (use-package paredit)
666 (use-package evil-paredit)
667 (use-package rainbow-delimiters)
668
669 (defun jd/lisp-mode-setup ()
670 (rainbow-delimiters-mode)
671 (evil-paredit-mode)
672 (paredit-mode))
673
674 (add-hook 'emacs-startup-hook
675 (lambda ()
676 (add-hook 'scheme-mode-hook 'jd/lisp-mode-setup)
677 (add-hook 'emacs-lisp-mode-hook 'jd/lisp-mode-setup)
678 (add-hook 'lisp-mode-hook 'jd/lisp-mode-setup)))
679
680 (evil-define-key 'normal paredit-mode-map (kbd "g h") 'paredit-forward-barf-sexp)
681 (evil-define-key 'normal paredit-mode-map (kbd "g l") 'paredit-forward-slurp-sexp)
682
683 (evil-define-key 'normal paredit-mode-map (kbd "g H") 'paredit-backward-slurp-sexp)
684 (evil-define-key 'normal paredit-mode-map (kbd "g L") 'paredit-backward-barf-sexp)
685
686 (use-package geiser)
687 (use-package geiser-guile)
688
689#+end_src
690
660*** Python 691*** Python
661 692
662#+begin_src emacs-lisp 693#+begin_src emacs-lisp