Start adding some basic lisp support

This commit is contained in:
James Grogan 2024-11-10 11:48:52 +00:00
parent 9f2968aff4
commit 096b0ba743
2 changed files with 20 additions and 0 deletions

View file

@ -10,6 +10,13 @@
(global-set-key "\C-x\C-m" 'execute-extended-command) (global-set-key "\C-x\C-m" 'execute-extended-command)
(global-set-key "\C-c\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 ;; I keep mising Cx-Cf, so make it easier
(global-set-key "\C-x\f" 'find-file) (global-set-key "\C-x\f" 'find-file)

View file

@ -96,5 +96,18 @@
(use-package yaml-mode (use-package yaml-mode
:ensure t) :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) (provide 'jg-dev)
;;; jg-dev.el ends here ;;; jg-dev.el ends here