[Announcement] Vim for Python and Django

138 views
Skip to first unread message

Antoni Aloy

unread,
Sep 26, 2010, 5:36:06 AM9/26/10
to django...@googlegroups.com
Hello all!

In this list we have a recurrent thread: "What'ts the best IDE for
Django and Python development?" trespams-vim is my try to answer this
question for people who likes to have a very powerful editor and needs
to have an editor which is able to run in the desktop as well as in a
remote session. I have updated the previous version with delimMate and
easytags, so actually you'll find:

* Syntax highlight
* Python autocompletion
* Smart tabbing
* Templates for Python, Django, js, html, ... (just try to edit a
python file and press sbu + tab as an example)
* Add/remove comments on multiple lines
* Tabs
* Surround
* marks

etc. etc. :

This is a list of my favorite shortcuts

http://code.google.com/p/trespams-vim/wiki/readme

So, you'll find a collection of plugins and .vimrc settings that I
have found very useful in my day-by-day work in Python and Django.

http://code.google.com/p/trespams-vim/

Happy coding!

--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

Piotr Zalewa

unread,
Sep 26, 2010, 6:19:50 AM9/26/10
to django...@googlegroups.com

ionut cristian cucu

unread,
Sep 26, 2010, 12:55:07 PM9/26/10
to django...@googlegroups.com
Very helpful, thanks alot!

2010/9/26 Piotr Zalewa <zal...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>

flebber

unread,
Sep 26, 2010, 7:22:53 PM9/26/10
to Django users
Do the instructions here http://code.google.com/p/trespams-vim/wiki/readme
only work on linux ? I tried to follow it on Windows as i wanted to
download and try your version but received this error.

C:\>hg clone https://trespams-vim.googlecode.com/hg/ trespams-vim
'hg' is not recognized as an internal or external command,
operable program or batch file.

C:\>

Mathieu Leduc-Hamel

unread,
Sep 26, 2010, 7:28:30 PM9/26/10
to django...@googlegroups.com
Anybody know of there's the same kind of resources for emacs ?

--
Mathieu Leduc-Hamel

Tran Cao Thai

unread,
Sep 26, 2010, 7:46:30 PM9/26/10
to django...@googlegroups.com
@flebber: try this http://tortoisehg.bitbucket.org/

flebber

unread,
Sep 27, 2010, 5:30:17 PM9/27/10
to Django users
OKay thanks for the tortoisehg link.I get an error when trying to use
the hg command


C:\>hg clone https://trespams-vim.googlecode.com/hg/ trespams-vim
requesting all changes
adding changesets
adding manifests
adding file changes
added 13 changesets with 223 changes to 197 files
updating to branch default
abort: case-folding collision between .vim/syntax/cvsannotate.vim
and .vim/syntax/CVSAnnotate.vim


On Sep 27, 9:46 am, Tran Cao Thai <jasonvoorhees...@gmail.com> wrote:
> @flebber: try thishttp://tortoisehg.bitbucket.org/
>
> On Mon, Sep 27, 2010 at 9:28 AM, Mathieu Leduc-Hamel <marra...@gmail.com> wrote:
> > Anybody know of there's the same kind of resources for emacs ?
>
> > On Sun, Sep 26, 2010 at 7:22 PM, flebber <flebber.c...@gmail.com> wrote:
> >> Do the instructions herehttp://code.google.com/p/trespams-vim/wiki/readme
> >> For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Piotr Zalewa

unread,
Oct 1, 2010, 12:40:42 PM10/1/10
to django...@googlegroups.com
It is great and I'm using it - I was using minibuf before, but somehow
your config convinced me to use NerdTree.
One question thought - I'd like to have the 80+ characters highlighted
somehow.
I found this:
http://stackoverflow.com/questions/235439/vim-80-column-layout-concerns
but I guess it's not working in multicolumn or is overwritten by
highlighting.
Do you have any solution to that?

Thanks


zalun
On 09/26/10 10:36, Antoni Aloy wrote:


--

Piotr Zalewa

unread,
Oct 1, 2010, 2:30:18 PM10/1/10
to django...@googlegroups.com
Answering to ,yself...

Just installed vim 7.3 colorcolumn=80 is perfect for that

zalun

Antoni Aloy

unread,
Oct 1, 2010, 7:05:24 PM10/1/10
to django...@googlegroups.com
2010/9/27 flebber <flebbe...@gmail.com>:

> OKay thanks for the tortoisehg link.I get an error when trying to use
> the hg command
>
>
> C:\>hg clone https://trespams-vim.googlecode.com/hg/ trespams-vim
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 13 changesets with 223 changes to 197 files
> updating to branch default
> abort: case-folding collision between .vim/syntax/cvsannotate.vim
> and .vim/syntax/CVSAnnotate.vim
>
I'll check it seems a duplicated file to me, but in Linux there is no
such a problem as it's case sensitve. Sorry but I can't test it in
Windows, just guess.

David M. Besonen

unread,
Oct 2, 2010, 1:04:03 AM10/2/10
to django...@googlegroups.com
On Sun, 26 Sep 2010 11:36:06 +0200
Antoni Aloy <anton...@gmail.com> wrote:

> http://code.google.com/p/trespams-vim/

i assume you've seen Alain's webpage:
VIM as Python IDE
http://blog.dispatched.ch/2009/05/24/vim-as-python-ide/

Antoni Aloy

unread,
Oct 2, 2010, 3:39:48 AM10/2/10
to django...@googlegroups.com
2010/10/2 David M. Besonen <dav...@panix.com>:
Yes, Alain's makes me love VIM as a Python IDE:)

Rene Vallecillo

unread,
Oct 2, 2010, 3:53:36 PM10/2/10
to django...@googlegroups.com
nvm, the folder name was wrong, it was suppose to be colors and I had color. And it seems it still needs to be under ~/.vim/ dir

On Sat, Oct 2, 2010 at 1:50 PM, Rene Vallecillo <ren...@gmail.com> wrote:
Hello

Im having a problem with the colorschemes 

I'm getting this:

Error detected while processing /home/rene/.vimrc:
line   88:
E185: Cannot find color scheme tango

As far as i can see, there is a folder named color in the ~/trespams-vim/ folder. But there is no use, any clue?



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸¸ Rene V²¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,



--
¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,¸¸ Rene V²¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø,

Rene Vallecillo

unread,
Oct 2, 2010, 3:50:24 PM10/2/10
to django...@googlegroups.com
Hello

Im having a problem with the colorschemes 

I'm getting this:

Error detected while processing /home/rene/.vimrc:
line   88:
E185: Cannot find color scheme tango

As far as i can see, there is a folder named color in the ~/trespams-vim/ folder. But there is no use, any clue?


On Sat, Oct 2, 2010 at 1:39 AM, Antoni Aloy <anton...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Antoni Aloy

unread,
Oct 3, 2010, 4:32:27 AM10/3/10
to django...@googlegroups.com
2010/10/2 Rene Vallecillo <ren...@gmail.com>:

> nvm, the folder name was wrong, it was suppose to be colors and I had color.
> And it seems it still needs to be under ~/.vim/ dir
>

Yes,

The best way is to make a symbolic link to .vimrc and .vim of the
trespams-vim files, that you can clone in a separated dir.

Reply all
Reply to author
Forward
0 new messages