So I do javascript a lot and I tend to write a lot of code like this:
Event.addBehavior({
'div.pagination-map a' : Remote.Link({
onLoading: function() {
$('pagination-content-map').hide();
$('pagination-working-map').show();
}}),
I tend to collapse as many parens and braces as possible. You may not like
that; we don't work together :-)
But what I would like would be if vim could indent *only* three spaces per
"level." So note the first and second line in the above example. Vim will
indent the second line 6 spaces because it has both a paren and a brace.
Does anyone know a way to make it work like it's reading my mind?
Thanks either way!
--
fREW Schmidt
http://blog.afoolishmanifesto.com
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---