bind c-ret to cider-repl-newline-and-indent in repl

For evil insert mode
This commit is contained in:
Gia Thanh Vuong 2019-09-24 10:45:07 -06:00 committed by duianto
parent 301d867aff
commit 18715b872b
2 changed files with 5 additions and 0 deletions

View File

@ -1279,6 +1279,8 @@ Other:
(thanks to Russell Mull)
- ~SPC m h d~ new keybinding for =cider-clojuredocs= (thanks to Sam Hedin)
- Removed ~SPC m h g~ for =grimoire= as it is deprecated (thanks to Sam Hedin)
- ~C-return~ to =cider-repl-newline-and-indent= in REPL evil insert state
(thanks to Gia Thanh Vuong)
- Fixes:
- Remove `cider.nrepl/cider-middleware` in lein quick start setting
- Fixed =cider-inspector-prev-page= binding, also add ~p~ as another key

View File

@ -235,6 +235,9 @@
(kbd "C-j") 'cider-repl-next-input
(kbd "C-k") 'cider-repl-previous-input))
(evil-define-key 'insert cider-repl-mode-map
(kbd "<C-return>") 'cider-repl-newline-and-indent)
(when clojure-enable-fancify-symbols
(clojure/fancify-symbols 'cider-repl-mode)
(clojure/fancify-symbols 'cider-clojure-interaction-mode)))