title: How can I make vim align the ternary ?: operator nicely?
body: <p>I like to write code using the ternary ?: operator like this:</p>
  
  <pre><code>std::string result = input.empty() ? createNewItem()
                                     : processInput( input );
  </code></pre>
  
  <p>How can I configure vim so that when pressing Return after having typed <code>createNewItem()</code> indents the next line so that the cursor is in the same column as the last <code>?</code> so that I can just continue typing <code>: processInput( input );</code>?</p>
  
  <p>I tried looking at the <code>cinoptions-values</code> setting but I didn't see anything relevant.</p>