diff options
author | William Carroll <wpcarro@gmail.com> | 2019-10-09T11·13+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-12-24T15·21+0000 |
commit | 6b456c1b7a4f6899f063a6e65355af51901d9c7a (patch) | |
tree | cfc70d74818ae9fabdbbfb0cf16cce092e4c1a09 /configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el | |
parent | a7c72adb2ebec1e497fc040eaf3551d564d61a5b (diff) |
Massive configuration overhaul
Currently paying the price of months of non-diligent git usage. Here's what has changed. - Theming support in Gvcci and wpgtk - Dropping support for i3 - Supporting EXWM - Many Elisp modules - Collapsed redundant directories in ./configs
Diffstat (limited to 'configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el')
-rw-r--r-- | configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el deleted file mode 100644 index cebe7b265761..000000000000 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-lisp.el +++ /dev/null @@ -1,48 +0,0 @@ -;;; lisp.el --- Generic LISP preferences -*- lexical-binding: t -*- -;; Author: William Carroll <wpcarro@gmail.com> - -;;; Commentary: -;; This hosts things like Paredit settings -;; -;; Here is some of the thinking behind some of the keybindings: -;; -;; slurp s -;; barf S -;; forward ) -;; backward ( -;; -;; Known concession: s and S eclipse Vim bindings. There is a precedent already -;; for eclipsing the s binding for window splitting. Shift-s feel appropriate -;; for barfing, since eclisping the b KBD feels less acceptable than eclisping -;; the s KBD. - -;;; Code: - -(defconst wpc/lisp-mode-hooks - '(emacs-lisp-mode-hook - clojure-mode-hook - clojurescript-mode-hook)) - -;; Elisp -(use-package elisp-slime-nav - :config - (general-add-hook 'emacs-lisp-mode #'ielm-mode)) - -;; paredit LISP editing -(use-package paredit - :config - (general-unbind - :keymaps 'paredit-mode-map - "C-j" - "M-q") - (general-nmap - :keymaps 'paredit-mode-map - "s)" #'paredit-forward-slurp-sexp - "s(" #'paredit-backward-slurp-sexp - "S)" #'paredit-forward-barf-sexp - "S(" #'paredit-backward-barf-sexp - "gr" #'paredit-raise-sexp) - (general-add-hook wpc/lisp-mode-hooks #'enable-paredit-mode)) - -(provide 'wpc-lisp) -;;; wpc-lisp.el ends here |