commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8370 - trunk/gnue-common/utils/vim


From: reinhard
Subject: [gnue] r8370 - trunk/gnue-common/utils/vim
Date: Wed, 5 Apr 2006 06:16:04 -0500 (CDT)

Author: reinhard
Date: 2006-04-05 06:16:04 -0500 (Wed, 05 Apr 2006)
New Revision: 8370

Modified:
   trunk/gnue-common/utils/vim/ftplugin_python.vim
Log:
Added a few more gimmics to python filetype plugin.


Modified: trunk/gnue-common/utils/vim/ftplugin_python.vim
===================================================================
--- trunk/gnue-common/utils/vim/ftplugin_python.vim     2006-04-05 11:02:24 UTC 
(rev 8369)
+++ trunk/gnue-common/utils/vim/ftplugin_python.vim     2006-04-05 11:16:04 UTC 
(rev 8370)
@@ -1,8 +1,13 @@
 " Save this file as .vim/after/ftplugin/python.vim
 " This file does:
 " 1. set indenting to 4 spaces as required by pep8
-" 2. map ^X to inserting a --- comment block indented 4 spaces
-" 3. map ^Y to inserting a === comment block without indention
+" 2. make sure no tabs go into the source file
+" 3. break lines after 79 characters
+" 4. map ^X to inserting a --- comment block indented 4 spaces
+" 5. map ^Y to inserting a === comment block without indention
 set shiftwidth=4
+set expandtab
+set smarttab
+set textwidth=79
 map  O0C    # 73A-o# 73A-o2ko# 
 map  O0C# 77A=o# 77A=o2ko# 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]