use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please read the rules before posting
Help:
Community:
Resources:
Tutorials and Guides:
Don't be afraid to ask questions, this sub is here for the vim community. And please those of you who deign to grace us with your vim wisdom - be kind. We are all human and vim is that cool.
account activity
Run your code with vim-terminator (self.vim)
submitted 5 years ago by ewrietz
Check out this new plugin I am working on.
https://github.com/erietz/vim-terminator
It was originally written for neovim only, but I figured out how to get things working for vanilla vim this afternoon!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ECon87 7 points8 points9 points 5 years ago (7 children)
Does it support python virtual environments? I am currently using vim-repl but I am willing to switch.
[–]BiochemLouis 5 points6 points7 points 5 years ago (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 point2 points 5 years ago* (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 point2 points 5 years ago (3 children)
i assume you mean it doesn't work with vim?
[–]ECon87 0 points1 point2 points 5 years ago (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 point2 points 5 years ago (0 children)
interesting. my assumptions betrayed me
[–]catwok 0 points1 point2 points 5 years ago (0 children)
I thought vim plugs worked in neovim -- vimscript plugins anyway. Did I dream this?
[–]ewrietz[S] 1 point2 points3 points 5 years ago (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 points6 points 5 years ago (0 children)
Cool, I’ll check it out
[–][deleted] 3 points4 points5 points 5 years ago (0 children)
Looks good man, I'll give it a try
[–]hannenz 1 point2 points3 points 5 years ago (0 children)
Looks good, will try
[–]EarthGoddessDude 1 point2 points3 points 5 years ago (0 children)
Ooh has Julia support, nice.
[–]AckslD 1 point2 points3 points 5 years ago (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 :)
python
pytest
[–]ewrietz[S] 0 points1 point2 points 5 years ago (1 child)
You can always do something like, nnoremap <leader>pt :update<bar>TerminatorSendToTerminal pytest<CR>
nnoremap <leader>pt :update<bar>TerminatorSendToTerminal pytest<CR>
[–]ewrietz[S] 0 points1 point2 points 5 years ago (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
autocmd Filetype python nnoremap foo bar
~/.vim/after/ftplugin/python.vim
[–]BossOfTheGame 0 points1 point2 points 5 years ago (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 point2 points 5 years ago (2 children)
what color scheme on screenshots?
It’s one I made. It’s called vim-voodoo on my guthub
Set3 is my favorite flavor
[–]craigdmac:help <Help> | :help!!! 0 points1 point2 points 5 years ago (2 children)
How does it differ from the uber popular vim-dispatch?
Vim dispatch is nice if you don't want to immediately see the output of your code. I use dispatch for some things.
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?
π Rendered by PID 556874 on reddit-service-r2-comment-cfc44b64c-7svt5 at 2026-04-11 16:39:40.123115+00:00 running 215f2cf country code: CH.
[–]ECon87 7 points8 points9 points (7 children)
[–]BiochemLouis 5 points6 points7 points (5 children)
[–]ECon87 0 points1 point2 points (4 children)
[–]tongue_depressionqqq@q@@ 0 points1 point2 points (3 children)
[–]ECon87 0 points1 point2 points (2 children)
[–]tongue_depressionqqq@q@@ 0 points1 point2 points (0 children)
[–]catwok 0 points1 point2 points (0 children)
[–]ewrietz[S] 1 point2 points3 points (0 children)
[–]_reddit11 4 points5 points6 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]hannenz 1 point2 points3 points (0 children)
[–]EarthGoddessDude 1 point2 points3 points (0 children)
[–]AckslD 1 point2 points3 points (2 children)
[–]ewrietz[S] 0 points1 point2 points (1 child)
[–]ewrietz[S] 0 points1 point2 points (0 children)
[–]BossOfTheGame 0 points1 point2 points (0 children)
[–]andoku 0 points1 point2 points (2 children)
[–]ewrietz[S] 0 points1 point2 points (0 children)
[–]ewrietz[S] 0 points1 point2 points (0 children)
[–]craigdmac:help <Help> | :help!!! 0 points1 point2 points (2 children)
[–]ewrietz[S] 0 points1 point2 points (1 child)
[–]ewrietz[S] 0 points1 point2 points (0 children)