wrap code in R Studio text editor : <p>How can one wrap commands within a lengthy line of code in the text editor in RStudio such that RStudio recognizes it as the continuation of a single piece of code? Currently, my code is 1 incredibly long line that is difficult to manage. With my current RStudio configuration, "Enter" seems to establish a new and separate line of code (without an indent) that RStudio doesn't process correctly because it begins with a "+".</p>

<p>Soft wrap (auto wrap based upon width of the text editor window) is not what I'm looking for.</p>

<p>Example what what I'm trying to achieve:</p>

<pre><code>ggplot(C, aes(x=Tenure, y = Count, color=Gender, shape=Gender))
     + geom_point(size=1)
     + geom_smooth(aes(fill=Gender))
     + labs(x="Tenure", y="Closeness")
     + ggtitle("Title")
</code></pre>

<p>Shift + Enter and Control + Enter are not doing the trick.</p>
