<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Re: [Tutor] OT: Vim was: free IDE for Python?</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText29766 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> tutor-bounces@python.org on behalf of
Senthil_OR@Dell.com<BR><B>Sent:</B> Thu 11/16/2006 10:32 PM<BR><B>To:</B>
alan.gauld@btinternet.com<BR><B>Cc:</B> tutor@python.org<BR><B>Subject:</B> Re:
[Tutor] OT: Vim was: free IDE for Python?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi Alan,<BR>
Greetings.<BR><BR>Alan Gauld wrote:<BR>>> I have to chuckle when you
recommend Vim for ease of use.<BR>><BR>> Me too, and I've been a
vi/elvis/viper/vim user for over 20 years(*).<BR>> vi/vim could never be
described as easy to learn, but...<BR><BR>I too use vim for a variety of editing
tasks. From xml, python to normal<BR>text editing, not a power user
yet.<BR>Do you have any tips/tricks to share for python on vim. Your vimrc
file<BR>or any plugins you use.<BR><BR>How would you run the python script from
vim?<BR>- !python %<BR>OR any other way? I dislike the command line window popup
to execute the<BR>scripts. (and press Enter key twice).<BR>I kindda wish, that
<Hot-Key> for !python % should :split the window and<BR>display the
results for non-interactive run.<BR>If interactive session, the cmd.exe could
stay open..<BR><BR>What the settings of ppl using vim for
python?<BR><BR>--<BR>Senthil<BR>_______________________________________________<BR></FONT></P>
<P><FONT size=2>Here's what I'm doing. Not sure if it's that helpful to
you.</P></FONT>
<P><FONT size=2>I use the mini-buffer explorer plug-in and the taglist
plugin.</FONT></P>
<P><FONT size=2>set smartindent</FONT></P>
<P><FONT size=2>" shuts off the annoying "#" comment in smartindent to jump to
col 1<BR>inoremap # X<c-h>#</FONT></P>
<P><FONT size=2>autocmd BufRead *.py set smartindent
cinwords=if,elif,else,for,while,try,except,finally,def,class</FONT></P>
<P><FONT size=2>I've mapped a key to run pyflakes and display the results in a
different buffer</FONT></P><FONT size=2></DIV>
<P>:new | r!pyflakes #</P>
<P>Mike</P></FONT>
</BODY>
</HTML>