General & minor reformatting+refactor
This commit is contained in:
parent
8756837036
commit
d6461d495b
4 changed files with 8 additions and 11 deletions
|
@ -34,7 +34,7 @@
|
|||
;; `vc-annotate' (built-in)
|
||||
(after! vc-annotate
|
||||
(set-popup-rules!
|
||||
'(("^\\vc-d" :select nil) ; *vc-diff*
|
||||
'(("^\\vc-d" :select nil) ; *vc-diff*
|
||||
("^\\vc-c" :select t))) ; *vc-change-log*
|
||||
(set-evil-initial-state!
|
||||
'(vc-annotate-mode vc-git-log-view-mode)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
;;; lang/common-lisp/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; `slime'
|
||||
(after! sly
|
||||
(setq inferior-lisp-program "sbcl")
|
||||
|
||||
|
@ -39,10 +38,10 @@
|
|||
(when (featurep! :feature evil +everywhere)
|
||||
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
|
||||
(unless evil-move-beyond-eol
|
||||
(advice-add 'sly-eval-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-pprint-eval-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-eval-print-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-eval-last-expression-in-repl :around '+common-lisp*sly-last-sexp))
|
||||
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-pprint-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-eval-print-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-eval-last-expression-in-repl :around #'+common-lisp*sly-last-sexp))
|
||||
(set-evil-initial-state!
|
||||
'(sly-db-mode sly-inspector-mode sly-popup-buffer-mode sly-xref-mode)
|
||||
'normal)
|
||||
|
|
|
@ -53,7 +53,5 @@
|
|||
|
||||
(def-package! pandoc-mode
|
||||
:when (featurep! +pandoc)
|
||||
:commands
|
||||
pandoc-mode
|
||||
:hook
|
||||
(markdown-mode . conditionally-turn-on-pandoc))
|
||||
:commands pandoc-mode
|
||||
:hook (markdown-mode . conditionally-turn-on-pandoc))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue