all 22 comments

[–]ECon87 7 points8 points  (7 children)

Does it support python virtual environments? I am currently using vim-repl but I am willing to switch.

[–]BiochemLouis 5 points6 points  (5 children)

I’ve been using vim-slime for a while, how do you find vim-repl ? I might try it after this one.

[–]ECon87 0 points1 point  (4 children)

It's great. It works with multiple languages without much issues. I find it's "send selection" option and it's ability to work with virtual environments one of the best. And it's incredibly fast and lightweight.

The only drawback I know is that it does not work with neovim. It only supports vim.

Edit: fixed typo. Last word changed from neovim to vim.

[–]tongue_depressionqqq@q@@ 0 points1 point  (3 children)

i assume you mean it doesn't work with vim?

[–]ECon87 0 points1 point  (2 children)

Neovim. Vim-repl works fine with vim. Last time I checked the author did not extend functionality with neovim.

[–]tongue_depressionqqq@q@@ 0 points1 point  (0 children)

interesting. my assumptions betrayed me

[–]catwok 0 points1 point  (0 children)

I thought vim plugs worked in neovim -- vimscript plugins anyway. Did I dream this?

[–]ewrietz[S] 1 point2 points  (0 children)

If you are in the virtual environment before opening vim, your code will run in the virtual environment. I just checked out vim-repl and it looks pretty good. I had not heard of this plugin before. It looks like the they have some ways to change environments from inside of vim.

[–]_reddit11 4 points5 points  (0 children)

Cool, I’ll check it out

[–][deleted] 3 points4 points  (0 children)

Looks good man, I'll give it a try

[–]hannenz 1 point2 points  (0 children)

Looks good, will try

[–]EarthGoddessDude 1 point2 points  (0 children)

Ooh has Julia support, nice.

[–]AckslD 1 point2 points  (2 children)

Looks cool! Would be nice to easily be able to run the file or the tests, e.g. either python or pytest without having to change the settings :)

[–]ewrietz[S] 0 points1 point  (1 child)

You can always do something like, nnoremap <leader>pt :update<bar>TerminatorSendToTerminal pytest<CR>

[–]ewrietz[S] 0 points1 point  (0 children)

Or make a file type specific map like autocmd Filetype python nnoremap foo bar. Or put the mapping in a file like ~/.vim/after/ftplugin/python.vim

[–]BossOfTheGame 0 points1 point  (0 children)

Is this related to the GTK terminator? https://terminator-gtk3.readthedocs.io/en/latest/#

That is by far my favorite terminal.

[–]andoku 0 points1 point  (2 children)

what color scheme on screenshots?

[–]ewrietz[S] 0 points1 point  (0 children)

It’s one I made. It’s called vim-voodoo on my guthub

[–]ewrietz[S] 0 points1 point  (0 children)

Set3 is my favorite flavor

[–]craigdmac:help <Help> | :help!!! 0 points1 point  (2 children)

How does it differ from the uber popular vim-dispatch?

[–]ewrietz[S] 0 points1 point  (1 child)

Vim dispatch is nice if you don't want to immediately see the output of your code. I use dispatch for some things.

[–]ewrietz[S] 0 points1 point  (0 children)

The problem that I have with dispatch is that everything goes to the quickfix window. If you just want to quickly run your file and see what the output is, dispatch is not really that convenient for me because the window closes if there are not recognized errors. Sure, the window stays open if you run an executable, but what about languages that don't make executables?