From fd200e395cc13bcd382130de92f2d03097d8906f Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Tue, 21 Nov 2023 14:10:12 +0100 Subject: [PATCH] . --- emacs/init.el | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index dd4e797..26f60d4 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -315,14 +315,13 @@ evil-mode (evil-mode . evil-snipe-override-mode) (magit-mode . turn-off-evil-snipe-override-mode) - :config - (define-key evil-snipe-parent-transient-map - (kbd "C-,") - (evilem-create - 'evil-snipe-repeat - :bind ((evil-snipe-scope 'buffer) - (evil-snipe-enable-highlight) - (evil-snipe-enable-incremental-highlight))))) + ;; See https://github.com/hlissner/evil-snipe/issues/95 + ;; :config + ;; (evilem-define "gs" 'evil-snipe-repeat + ;; :bind ((evil-snipe-scope 'buffer) + ;; (evil-snipe-enable-highlight) + ;; (evil-snipe-enable-incremental-highlight))) + ) (use-package evil-easymotion :config @@ -360,6 +359,12 @@ Point must be at the beginning of balanced expression (sexp)." emacs-lisp-mode scheme-mode :config + (add-to-list 'sp-clojure-modes 'clojure-ts-mode) + (add-to-list 'sp-clojure-modes 'clojurec-ts-mode) + (add-to-list 'sp-clojure-modes 'clojurescript-ts-mode) + (add-to-list 'sp-lisp-modes 'clojure-ts-mode) + (add-to-list 'sp-lisp-modes 'clojurec-ts-mode) + (add-to-list 'sp-lisp-modes 'clojurescript-ts-mode) (evil-define-key 'insert smartparens-mode-map (kbd "r") (conditional-keybind #'looking-at-opening-paren #'sp-raise-sexp)