Re: [Tutor] vi and python

2007-09-15 Thread Alan Gauld

Danyelle Gragsone [EMAIL PROTECTED] wrote

 Sorry for the misunderstanding.  Since vim points to vi 
 automatically
 I have gotten used to calling it vi.  But I did mean vim.

Just to be picky, vi points to vim. vim is the program vi is an alias.
So if you type vi it executes vim.

But different *nix versions use different editors for vi.
Some use elvis, some even use the original vi! If you ask about vi
you will typically get a response that covers the common subset
that is the original. But that only supports (in a very limited way)
C and Lisp programming features.

vim has several levels of support for Python. It has syntax 
highlighting
for python but it can also be found with Python built in as the 
scripting
language so you can write vim macros using Python.

HTH,


-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] vi and python

2007-09-14 Thread bhaaluu
Greetings,
I use vim (vi improved):

http://www.ibiblio.org/obp/pyBiblio/tips/elkner/vim4python.php
-- 
bhaaluu at gmail dot com

On 9/14/07, Danyelle Gragsone [EMAIL PROTECTED] wrote:
 Good Evening,

 I am running gentoo.  I want to use vi to program in python.  I
 wondered are there any other gentooovians out there who know if python
 support is already installed.

 Thanks,
 LadyNikon
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] vi and python

2007-09-14 Thread Danyelle Gragsone
Hi Bhaaluu,

Sorry for the misunderstanding.  Since vim points to vi automatically
I have gotten used to calling it vi.  But I did mean vim.

LadyNikon
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] vi and python

2007-09-14 Thread David Millar
Hi Bhaaluu and LadyNikon,

I'm not exactly sure what you mean by Python support, but since I do most of
my coding in plain text editors anyway I have had no trouble using vi/vim to
edit/code. It's extremely useful for when my laptop is on battery mode - I
have a terminal profile setup to be mostly dark and fullscreen to conserve
power.

Best of luck!
Dave M.

On 9/14/07, Danyelle Gragsone [EMAIL PROTECTED] wrote:

 Hi Bhaaluu,

 Sorry for the misunderstanding.  Since vim points to vi automatically
 I have gotten used to calling it vi.  But I did mean vim.

 LadyNikon
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] vi and python

2007-09-14 Thread wormwood_3
Hello,

I go back and forth between SPE and VIM for Python myself. As for Python 
support in VIM, you can use most editions of VIM as a plain text editor, and it 
is fine for Python. But, if you install vim-python 
(http://ddtp.debian.net/ddt.cgi?desc_id=20183), you get some nice added 
features such as syntax highlighting, code completion, etc. Sort of like a 
basic IDE all in VIM! Not sure how you have vim installed. On Ubuntu for 
example, I just do sudo apt-get install vim-full, and I get all the variants, 
including vim-python.

Other handy things:
 * pydiction: http://www.vim.org/scripts/script.php?script_id=850
 * python.vim: http://vim.sourceforge.net/scripts/script.php?script_id=30

Best of luck!

-Sam

__
- Original Message 
From: Danyelle Gragsone [EMAIL PROTECTED]
To: python lista [EMAIL PROTECTED]; tutor@python.org
Sent: Friday, September 14, 2007 8:35:21 PM
Subject: [Tutor] vi and python

Good Evening,

I am running gentoo.  I want to use vi to program in python.  I
wondered are there any other gentooovians out there who know if python
support is already installed.

Thanks,
LadyNikon
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor



___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor