diff --git a/emacs/.emacs.d/modules/jg-core.el b/emacs/.emacs.d/modules/jg-core.el index d427c03..12c2b0b 100644 --- a/emacs/.emacs.d/modules/jg-core.el +++ b/emacs/.emacs.d/modules/jg-core.el @@ -10,6 +10,13 @@ (global-set-key "\C-x\C-m" 'execute-extended-command) (global-set-key "\C-c\C-m" 'execute-extended-command) +;; Allow line highlighting +(global-hl-line-mode +1) + +;; Highlight delimiter pairs +(show-paren-mode 1) +(setq show-paren-delay 0) + ;; I keep mising Cx-Cf, so make it easier (global-set-key "\C-x\f" 'find-file) diff --git a/emacs/.emacs.d/modules/jg-dev.el b/emacs/.emacs.d/modules/jg-dev.el index da01611..0772555 100644 --- a/emacs/.emacs.d/modules/jg-dev.el +++ b/emacs/.emacs.d/modules/jg-dev.el @@ -96,5 +96,18 @@ (use-package yaml-mode :ensure t) +(ac-config-default) +(require 'ac-geiser) +(add-hook 'geiser-mode-hook 'ac-geiser-setup) +(add-hook 'geiser-repl-mode-hook 'ac-geiser-setup) +;;(eval-after-load "auto-complete" +;; (add-to-list 'ac-modes' geiser-repl-mode)) + +(require 'paredit) +(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) +(add-hook 'scheme-mode-hook #'enable-paredit-mode) + +(require 'iedit) + (provide 'jg-dev) ;;; jg-dev.el ends here