Changes between Version 8 and Version 9 of UsingVimWithDjango
- Timestamp:
- Jan 10, 2006, 5:58:13 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingVimWithDjango
v8 v9 57 57 delcommand HiLink 58 58 }}} 59 60 == Project.vim == 61 62 The [http://www.vim.org/scripts/script.php?script_id=69 Project] plugin adds IDE file organisation functionality to Vim. 63 64 Something like the following could be used to view a project's files. 65 66 {{{ 67 Django Project=/path/to/project CD=. filter="*.py" { 68 __init__.py 69 settings.py 70 urls.py 71 apps=apps { 72 __init__.py 73 app1=app1Dir { 74 __init__.py 75 views.py 76 models=app1ModelsDir { 77 __init__.py 78 app1models.py 79 } 80 } 81 app2=app2Dir { 82 __init__.py 83 views.py 84 models=app2modelsDir { 85 __init__.py 86 app2Dir.py 87 } 88 } 89 media=mediaDir { 90 images=imagesDir { 91 } 92 } 93 } 94 }}} 95 96 Such a structure can also be created by using the build in '\C' command which will recurse through the whole directory tree.