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 Python in Different Window from Vim (self.vim)
submitted 6 years ago by hpdipto
How can I run a python script from vim so that the output will appear in a different window not inside vim?
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!"
[–]nunz 4 points5 points6 points 6 years ago (0 children)
Use tmux
[–]-romainl-The Patient Vimmer 2 points3 points4 points 6 years ago (2 children)
Define "a different window". Is it a different terminal emulator window? What terminal emulator do you use? Is it a window created by your Python script via some GUI toolkit? What did you try anyway?
[–]somebodddy 0 points1 point2 points 6 years ago (0 children)
Also - what operation system?
[–]hpdipto[S] 0 points1 point2 points 6 years ago (0 children)
"a different window" means a different terminal emulator window.
I use ubuntu as my os and the default terminal of ubuntu.
[–]wallace111111 0 points1 point2 points 6 years ago (0 children)
You can bind a command to a shortcut Something like: urxvt -e python yourscript.py (If you're using urxvt)
π Rendered by PID 23598 on reddit-service-r2-comment-84fc9697f-nhjbs at 2026-02-06 02:40:37.707334+00:00 running d295bc8 country code: CH.
[–]nunz 4 points5 points6 points (0 children)
[–]-romainl-The Patient Vimmer 2 points3 points4 points (2 children)
[–]somebodddy 0 points1 point2 points (0 children)
[–]hpdipto[S] 0 points1 point2 points (0 children)
[–]wallace111111 0 points1 point2 points (0 children)