<p>When editing PHP code (I'm not sure if it's specific to that language) and I create a new line in the middle of comma-separated lists that span multiple lines, the indent rules always unindent the line I'm leaving. <a href="http://toogeneric.com/files/indent2.mov" rel="noreferrer">Here's a video of it.</a> This happens in arrays, function argument lists, etc.</p>

<p>Is there anything I can do to stop this from happening, or any quicker methods of fixing the error than moving up, re-indenting it, moving down, re-indenting (since it gets cleared when you leave the line), and continuing?</p>

<p><a href="https://gist.github.com/2806bf9f0fb1424fd375" rel="noreferrer">.vimrc</a></p>

Try
```
:set indentexpr=""
```
and see if that helps. See
```
:help filetype-indent-off
```
for the section that deals with filetype plugins (which is probably where this indentexpr is coming from).