<p dir="auto">Expected behavior:<br>
<code class="notranslate">cmd-l</code> <code class="notranslate">cmd-c</code> <code class="notranslate">cmd-v</code> (selecting the current line, copying the current line, and pasting it over the top of itself) should leave no changes to the editor.</p>
<p dir="auto">Current behavior:<br>
After this key combo, the current line is stripped of its previous indentation.</p>
<p dir="auto">Why it's useful:<br>
I often use this command along with additional presses of <code class="notranslate">cmd-v</code> in order to duplicate the current line in-place.</p>
<p dir="auto">For one example, I use it when adding vendor prefixes in CSS.<br>
<strong>Sublime</strong> (<code class="notranslate">cmd-l c v v v</code> to paste 3 times)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/bce5d67c9a832268ccb29a6fa3064afbdd9f258abe8ca40ed28fe59779bb86aa/687474703a2f2f636c2e6c792f696d6167652f31333166334a336f323431622f53637265656e2532305265636f7264696e67253230323031342d30392d3234253230617425323030382e3033253230504d2e676966"><img src="https://camo.githubusercontent.com/bce5d67c9a832268ccb29a6fa3064afbdd9f258abe8ca40ed28fe59779bb86aa/687474703a2f2f636c2e6c792f696d6167652f31333166334a336f323431622f53637265656e2532305265636f7264696e67253230323031342d30392d3234253230617425323030382e3033253230504d2e676966" alt="Sublime" data-animated-image="" data-canonical-src="http://cl.ly/image/131f3J3o241b/Screen%20Recording%202014-09-24%20at%2008.03%20PM.gif" style="max-width: 100%;"></a></p>
<p dir="auto">Atom loses my indentation when I paste the same line over the top of itself.<br>
<strong>Atom</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/47eca1fb8202cace6807bad2638571bab83ce9beb9e63f84a4ae2d740ce5006d/687474703a2f2f636c2e6c792f696d6167652f33313044304c3138326a33362f53637265656e2532305265636f7264696e67253230323031342d30392d3234253230617425323030382e3036253230504d2e676966"><img src="https://camo.githubusercontent.com/47eca1fb8202cace6807bad2638571bab83ce9beb9e63f84a4ae2d740ce5006d/687474703a2f2f636c2e6c792f696d6167652f33313044304c3138326a33362f53637265656e2532305265636f7264696e67253230323031342d30392d3234253230617425323030382e3036253230504d2e676966" alt="Atom" data-animated-image="" data-canonical-src="http://cl.ly/image/310D0L182j36/Screen%20Recording%202014-09-24%20at%2008.06%20PM.gif" style="max-width: 100%;"></a></p>
<p dir="auto"><code class="notranslate">normalizeIndentOnPaste</code> is supposed to <a href="https://atom.io/docs/v0.59.0/customizing-atom#configuration-key-reference" rel="nofollow">convert tabs to spaces, or spaces to tabs</a>.  Instead it <a href="https://discuss.atom.io/t/normalize-indent-on-paste-doesnt-work-as-expected/3503/5" rel="nofollow">removes all indentation from the start of the line</a>.</p>
<p dir="auto">In a coffee file, try cutting and then immediately pasting the middle line:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    console.log &quot;foo&quot;
    console.log &quot;bar&quot;
    console.log &quot;baz&quot;"><pre class="notranslate"><code class="notranslate">    console.log "foo"
    console.log "bar"
    console.log "baz"
</code></pre></div>
<p dir="auto">You get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    console.log &quot;foo&quot;
console.log &quot;bar&quot;
    console.log &quot;baz&quot;"><pre class="notranslate"><code class="notranslate">    console.log "foo"
console.log "bar"
    console.log "baz"
</code></pre></div>
<p dir="auto">which is definitely note what <code class="notranslate">normalizeIndentOnPaste</code> should be doing.</p>