Lisp: Bind f6 to sly-asdf-reload-system.

master
Pierre Neidhardt 2020-03-11 16:45:33 +01:00
parent 3e0f77bfd1
commit f8ac9aee05
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@
(with-eval-after-load 'sly-mrepl
(setq sly-mrepl-history-file-name (expand-file-name "sly-mrepl-history" user-emacs-directory))
(define-key sly-mrepl-mode-map (kbd "C-c M-o") 'sly-mrepl-clear-repl))
(define-key lisp-mode-map (kbd "<f6>") 'sly-asdf-reload-system)
(setq sly-command-switch-to-existing-lisp 'always)
(add-hook 'sly-mrepl-hook #'ambrevar/init-lispy)
(add-hook 'sly-mrepl-hook #'rainbow-delimiters-mode)