mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
- Split large modules into smaller parts (e.g. siren-text-manipulation) - Organize modules into high level groups: - completion - core - editor - languages - linting - misc - navigation - projects - spelling - text-editing - version-control - windows - workspaces
30 lines
804 B
EmacsLisp
30 lines
804 B
EmacsLisp
;;; siren-lisp.el --- jimeh's Emacs Siren: lisp-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for lisp-mode.
|
|
|
|
;;; Code:
|
|
|
|
(require 'siren-highlight-indent-guides)
|
|
|
|
;; Lisp configuration
|
|
(define-key read-expression-map (kbd "TAB") 'completion-at-point)
|
|
|
|
;; wrap keybindings
|
|
(define-key lisp-mode-shared-map (kbd "M-(") (siren-wrap-with "("))
|
|
;; FIXME: Pick terminal-friendly binding.
|
|
;;(define-key lisp-mode-shared-map (kbd "M-[") (siren-wrap-with "["))
|
|
(define-key lisp-mode-shared-map (kbd "M-\"") (siren-wrap-with "\""))
|
|
|
|
;; a great lisp coding hook
|
|
(defun siren-lisp-coding-hook ())
|
|
|
|
;; interactive modes don't need whitespace checks
|
|
(defun siren-interactive-lisp-coding-hook ()
|
|
(highlight-indent-guides-mode)
|
|
(whitespace-mode -1))
|
|
|
|
(provide 'siren-lisp)
|
|
;;; siren-lisp.el ends here
|