[rfc][patch]

Jan Hudec bulb at ucw.cz
Tue Jan 3 12:41:01 GMT 2006


On Tue, Jan 03, 2006 at 13:21:27 +0100, Wouter Bolsterlee wrote:
> P? Tue, Jan 03, 2006 at 11:03:07AM +0100, Erik B?gfors skrev:
> > Anyone here using vim that can show me their setup?
> 
> I blogged about my Vim+Python setup at
> http://uwstopia.nl/blog/2005/09/tabs-are-evil

Two notes:

1. set tabstop=4 is wrong. Python thinks tabstop=8. Setting tabstop to
   anything but default 8 is a good way to screw things. You should set
   softtabstop, which makes <Tab> move by shiftwidth instead.
2. It should be in .vim/ftplugin/after/python.vim. That will combine
   with the default plugin, while .vim/ftplugin/python.vim will replace
   it, so you'd loose bindings for ]], [[, ]m, [m and some more options.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060103/df761c41/attachment.pgp 


More information about the bazaar mailing list