SLY: Bind S-<return> to helm-sly-run-go-to-repl-other-window.

master
Pierre Neidhardt 2021-01-14 14:46:45 +01:00
parent 34a0f3fc29
commit 678c0e0778
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ If REFRESH is non-nil, rebuild the environment."
(define-key sly-mrepl-mode-map (kbd "C-c C-x c") 'helm-sly-list-connections)))
(when (require 'helm-sly nil :noerror)
(when (require 'evil-collection nil :noerror)
(evil-define-key '(normal insert) helm-sly-connections-map
(kbd "S-<return>") 'helm-sly-run-go-to-repl-other-window))
(defun ambrevar/helm-sly-format-connection (connection buffer)
(let ((fstring "%s%2s %s"))
(format fstring