vim

For discussion on all things (neo)vim.
tzzh 2020-02-03T16:22:52.037300Z

anybody using neoterm for clojure development ? I am a happy fireplace user but after reading a bit about neoterm it seemed like it could be an alternative with a bit of work (but I’ve never heard of anybody using it)

dave 2020-02-03T16:27:48.037500Z

i've been curious about that myself

tzzh 2020-02-03T16:42:45.039300Z

@dave do you use neoterm already ? I don’t use it myself so not sure how easy it is to write custom functions that use it but it seemed that it should be doable to write something to eval chunks of code or get doc/source etc

dave 2020-02-03T16:45:21.040Z

i took an interest in it for a while, but then over time, i found that i was tending to just open up panes in tmux instead

dave 2020-02-03T16:46:59.041100Z

i did set up a bunch of keybindings and stuff back when i was using it. maybe some of this is helpful: https://github.com/daveyarwood/dotfiles/blob/dfe42a83445a70b2c38da5627769cfa4326b7d70/vim/custom/500-plugins-config.vim#L864-L895

tzzh 2020-02-03T16:47:13.041500Z

OK cool thanks I’ll take a look :thumbsup:

tzzh 2020-02-03T16:48:11.042400Z

I guess you can probably send data from a vim tmux pane to a repl tmux pane as well

tzzh 2020-02-03T16:49:52.044200Z

also I’d like to setup something similar for when I write Python as I currently have a quite manual process to do repl driven development with Python (ie copying and pasting to a ipython window manually) - but I’d like something more interactive as I got used to it with Clojure

dave 2020-02-03T16:51:57.044600Z

you can. in fact, i've got a nice custom setup going with https://github.com/benmills/vimux

dave 2020-02-03T16:53:25.045100Z

happy to share my config for that, if anyone's interest is piqued 🙂

tzzh 2020-02-04T09:30:52.050100Z

:thumbsup:

dave 2020-02-03T16:53:46.045300Z

that's a really interesting thought about python

dave 2020-02-03T16:54:01.045700Z

i'll bet you could get some nice results using either neoterm or vimux

tzzh 2020-02-03T16:55:07.046300Z

oh ok I didn’t know about vimux, looks really sick :thumbsup:

nate 2020-02-03T16:55:28.046900Z

another vote for vimux, it's been my go to for many years

nate 2020-02-03T16:56:01.047600Z

the only reason why it would be better to be in vim is that copy/paste from the terminal pane might be a smidge easier

tzzh 2020-02-03T16:57:09.048200Z

really cool 🙂 @nate do you use vimux for clojure development as well then ?

tzzh 2020-02-03T16:57:51.048900Z

I would definitely be keen to have a look

nate 2020-02-03T16:58:16.049400Z

I use vimux for terminal control, for clojure development my vim session is connected to my app via prepl (thanks @olical for conjure) and so I send code in that way

💯 1
tzzh 2020-02-03T17:00:59.049600Z

OK cool I see :thumbsup: