Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3313
| Date | 2011-04-16 06:35 -0500 |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Subject | Re: Python IDE/text-editor |
| References | <mailman.407.1302924034.9059.python-list@python.org> <8739lij2h7.fsf@benfinney.id.au> <87r59269y4.fsf@castleamber.com> <mailman.409.1302932641.9059.python-list@python.org> <87wriuhdgh.fsf@benfinney.id.au> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.421.1302953763.9059.python-list@python.org> (permalink) |
On 04/16/2011 02:17 AM, Ben Finney wrote:
> Emacs can run Python in a buffer, and has “tabbar-mode” to
> display a row of tabs
>
> Likely the same features are available in Vim, by I've never
> used Vim for lots of Python coding.
Vim since v7 has offered tabs, though I personally stick mostly
to split-panes ("windows" in vim parlance).
:help tab-page
The GUI version (gvim) offers mouse support; the console version
supports the mouse as well, but may be a bit more fiddly as
mouse/console interactions often are.
:help mouse-using
As for running a python shell within Vim, the idea of an embedded
pseudo-tty (so that means an embedded console, python shell, or
just running any other console program) has been pretty
resolutely rejected by the maintainers. I think there's an
unofficial patch[1] to add the support, but most folks just bring
up a second console/terminal and run things there. For me, it's
either using "screen" or just another xterm/rxvt window.
:help shell-window
That said, Vim does have Python scripting capabilities as well,
so you can control vim with Python code
:help python
and Vim can evaluate python if it was built as such (check the
output of ":version" for "+python"). Additionally, you can
always run your Vim script and pull the output into a buffer
somewhere:
:r !my_script.py
:r !python my_script.py
(form dependent on whether your script is marked executable)
To the OP, try both Vim & Emacs and see which fits your head
better. They're both great editors and will provide a lifetime
of returns on the time invested learning them. Vim fits me
better; Emacs seems to better fit several of the other folks on
the list who responded.
-tkc
[1]
http://www.wana.at/vimshell/
http://stackoverflow.com/questions/2782752/how-can-i-open-a-shell-inside-a-vim-window
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 13:20 +1000
Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 13:32 +1000
Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 00:29 -0500
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 15:43 +1000
Re: Python IDE/text-editor harrismh777 <harrismh777@charter.net> - 2011-04-16 00:55 -0500
Re: Python IDE/text-editor Algis Kabaila <akabaila@pcug.org.au> - 2011-04-16 17:18 +1000
Re: Python IDE/text-editor CM <cmpython@gmail.com> - 2011-04-15 23:31 -0700
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-16 17:03 +1000
Re: Python IDE/text-editor Terry Reedy <tjreedy@udel.edu> - 2011-04-16 13:05 -0400
Re: Python IDE/text-editor harrismh777 <harrismh777@charter.net> - 2011-04-18 02:12 -0500
Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 17:17 +1000
Re: Python IDE/text-editor Tim Chase <python.list@tim.thechases.com> - 2011-04-16 06:35 -0500
Re: Python IDE/text-editor Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-04-16 10:59 +0000
Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 08:07 -0500
Re: Python IDE/text-editor flebber <flebber.crue@gmail.com> - 2011-04-16 06:45 -0700
Re: Python IDE/text-editor Cameron Simpson <cs@zip.com.au> - 2011-04-18 06:31 +1000
Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 08:04 -0500
Re: Python IDE/text-editor Adam Tauno Williams <awilliam@whitemice.org> - 2011-04-16 09:50 -0400
Re: Python IDE/text-editor candide <candide@free.invalid> - 2011-04-16 22:12 +0200
Re: Python IDE/text-editor John Bokma <john@castleamber.com> - 2011-04-16 17:14 -0500
Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-16 15:31 -0700
Re: Python IDE/text-editor Chris Angelico <rosuav@gmail.com> - 2011-04-17 09:08 +1000
Make Python "portable" by default! (Re: Python IDE/text-editor) Wolfgang Keller <feliphil@gmx.net> - 2011-04-17 11:13 +0200
Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Chris Angelico <rosuav@gmail.com> - 2011-04-17 19:39 +1000
Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Wolfgang Keller <feliphil@gmx.net> - 2011-04-18 10:15 +0200
Re: Make Python "portable" by default! (Re: Python IDE/text-editor) Chris Angelico <rosuav@gmail.com> - 2011-04-18 18:33 +1000
Re: Make Python "portable" by default! (Re: Python IDE/text-editor) flebber <flebber.crue@gmail.com> - 2011-04-18 02:59 -0700
Re: Make Python "portable" by default! (Re: Python IDE/text-editor) JussiJ <jussij@zeusedit.com> - 2011-05-23 22:19 -0700
Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-17 13:13 -0700
Re: Python IDE/text-editor egbert <egbertum@xs4all.nl> - 2011-04-17 22:51 +0200
Re: Python IDE/text-editor flebber <flebber.crue@gmail.com> - 2011-04-16 06:40 -0700
Re: Python IDE/text-editor Adam Tauno Williams <awilliam@whitemice.org> - 2011-04-16 09:52 -0400
Re: Python IDE/text-editor Daniel Kluev <dan.kluev@gmail.com> - 2011-04-16 20:18 +1100
Re: Python IDE/text-editor jacek2v <jacek2v@gmail.com> - 2011-04-16 02:32 -0700
Re: Python IDE/text-editor TP <wingusr@gmail.com> - 2011-04-16 07:24 -0700
Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-16 19:58 +1000
Re: Python IDE/text-editor Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-04-16 13:48 +0200
Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-15 21:12 -0700
Re: Python IDE/text-editor TerrorBite Lion <terrorbite@lethargiclion.net> - 2011-04-15 21:36 -0700
Re: Python IDE/text-editor jmfauth <wxjmfauth@gmail.com> - 2011-04-16 00:02 -0700
Re: Python IDE/text-editor Ton van Vliet <sheep.in.herd@green.meadow> - 2011-04-18 13:08 +0200
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 00:40 +1000
Re: Python IDE/text-editor Teemu Likonen <tlikonen@iki.fi> - 2011-04-19 06:51 +0300
Re: Python IDE/text-editor Westley Martínez <anikom15@gmail.com> - 2011-04-18 21:17 -0700
Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 21:37 -0700
Re: Python IDE/text-editor Chris Angelico <rosuav@gmail.com> - 2011-04-19 14:44 +1000
Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 22:00 -0700
Re: Python IDE/text-editor Teemu Likonen <tlikonen@iki.fi> - 2011-04-20 15:40 +0300
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-27 16:10 +1000
Re: Python IDE/text-editor Stefaan Himpe <stefaan.himpe@gmail.com> - 2011-04-27 20:28 +0200
Re: Python IDE/text-editor Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-04-28 16:21 +0000
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-29 03:03 +1000
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-05-02 01:47 +1000
Re: Python IDE/text-editor Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-04-18 17:23 +0200
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 02:41 +1000
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-04-19 13:44 +1000
Re: Python IDE/text-editor Ben Finney <ben+python@benfinney.id.au> - 2011-04-19 14:32 +1000
Re: Python IDE/text-editor rusi <rustompmody@gmail.com> - 2011-04-18 21:40 -0700
Re: Python IDE/text-editor Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-04-19 12:19 +0200
Re: Python IDE/text-editor JussiJ <jussij@zeusedit.com> - 2011-05-05 21:39 -0700
Re: Python IDE/text-editor Alec Taylor <alec.taylor6@gmail.com> - 2011-05-07 00:55 +1000
Re: Python IDE/text-editor "emato" <emato@nothere.tampabay.com> - 2011-05-07 14:29 -0400
Re: Python IDE/text-editor Matty Sarro <msarro@gmail.com> - 2011-05-08 07:52 -0400
Re: Python IDE/text-editor Mali Laurent <i.m.laurent@gmail.com> - 2011-05-08 21:31 -0700
csiph-web