3 ms·
I use a vim plugin called slimux to send code from vim into a REPL running in another tmux pane. It works really well. Here's the fork that I'm currently using
by kernelsanderz 6y ago
I use a vim plugin called slimux to send code from vim into a REPL running in another tmux pane. It works really well.
Here's the fork that I'm currently using https://github.com/grusky/slimux https://github.com/grusky/slimux
I use it with python and node.is and MySQL and psql
It's great because it can work with any REPL.
I used to use jupyter notebooks but almost exclusively use slimux now unless I need to some data visualisation or computer vision.
VS code's ipython REPL is quite good and has support for images and graphs.
I will say that the main thing that triggered a REPL driven workflow was dealing with large state. When you do machine learning and you have to deal with large models and datasets, loading them each time you save your code and triggering a unit test really gets tedious. You can definitely do it with caching and reducing the dataset size, but it only gets you so far IMO. There's nothing like being to inspect the state of your environment. Particularly when it takes a long time to create that state.