This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-16
Channels
- # announcements (11)
- # beginners (184)
- # calva (91)
- # cider (68)
- # cljdoc (42)
- # cljs-dev (44)
- # clojure (228)
- # clojure-dev (1)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-losangeles (6)
- # clojure-nl (9)
- # clojure-spec (73)
- # clojure-uk (19)
- # clojurescript (61)
- # core-async (6)
- # cursive (2)
- # datomic (11)
- # fulcro (28)
- # hyperfiddle (16)
- # leiningen (2)
- # luminus (3)
- # off-topic (19)
- # om-next (1)
- # re-frame (2)
- # reagent (12)
- # reitit (4)
- # ring-swagger (5)
- # shadow-cljs (14)
- # slack-help (6)
- # spacemacs (2)
- # tools-deps (40)
- # vim (15)
- # yada (4)
not quite, cpp evals the form under cursor (awesome). i want something that is like a shortcut to select-copy-paste into the repl.
@lwhorton you might have a look at neoterm: https://github.com/kassio/neoterm i'm not sure if it will work out-of-the-box for clojure, but it seems equipped to do that exact thing
this part, in particular: https://github.com/kassio/neoterm#repl
I just switched from “macvim + rebel-readline in a separate terminal” to “neovim + neoterm” and it’s so good!
@schmee cool! did you have to do anything special to get clojure working with neoterm? i've never tried it
not really, I added some shortcuts and changed the default REPL, otherwise it just works out of the box:
nnoremap <leader>r :T (do (require 'user :reload) (user/refresh))<cr>
nnoremap <leader>e :T (do (require 'user :reload) (user/reload))<cr>
let g:neoterm_default_mod = 'vertical'
nmap gl <Plug>(neoterm-repl-send)
augroup Clj
au!
au FileType clojure call neoterm#repl#set('lr')
augroup END
nmap ga glab