You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
I wonder if we should offer a non-normalized variant of paste, like alt-cmd-v.
Opening this issue to ask for the above.
Rationale: I leave auto indentation on, and it (mostly) does the right thing, but sometimes I am moving code around that has indentation rules more complicated than Atom can understand. I'd love to have a quick way to paste the "raw" text without having Atom try to indent it. Kind of like "paste without formatting" in a spreadsheet.
An example of complicated indentation might be a docstring, or PEP8-style indenting to opening parens in Python. Ideally Atom would understand all these rules and do the right thing, but right now I often find myself re-indenting things after Atom strips them during paste.
Reacted by Andrew Meyer, Jonathan, Dustin Martin, Andreas Sommer, Revan Zhang, Brian FitzGerald, Brenton Partridge, Isaiah Odhner, Vincent Waller, Colin M. Ford and 6 more
Totally agree. Cmd-V should paste-and-reindent, Cmd-Shift-V paste verbatim.
I would like it if the editor pasted, and THEN indented, in two separate steps. If I didn't like the reindenting, I could hit Undo once to get back the original text. And if I didn't want to paste at all, I could hit Undo twice.
I think.
This seems discoverable and doesn't require settings/modes... Any downsides?
Activity
winstliu commentedon Jan 14, 2015
👍. On Windows and Linux the keybinding would be Ctrl+Shift+V.
mnquintana commentedon Jan 14, 2015
👍 This is pretty much what I had configured in Sublime (Cmd+Shift+V for Macs of course 😃)
bronson commentedon May 23, 2015
Totally agree. Cmd-V should paste-and-reindent, Cmd-Shift-V paste verbatim.
I would like it if the editor pasted, and THEN indented, in two separate steps. If I didn't like the reindenting, I could hit Undo once to get back the original text. And if I didn't want to paste at all, I could hit Undo twice.
I think.
This seems discoverable and doesn't require settings/modes... Any downsides?
imbenclifford commentedon Feb 12, 2016
+1 I'd love this feature too. Would be a game changer for atom.
jescalan commentedon Mar 3, 2016
Would also really enjoy this feature!
felixkempf commentedon Mar 9, 2016
This!
1-800-jono commentedon Mar 24, 2016
Yeah I've been looking for this functionality too.
Misterdjack commentedon Apr 14, 2016
Did we just become best friends? Yup! Wanna practice karate in the basement? Yup! Wanna paste with formatting? Yup!
klarkc commentedon Aug 2, 2016
Nice feature, having to switch off auto indent everytime I need plain paste is a pain
jackson-sandland commentedon Sep 11, 2017
Can we get this feature? This is a time saver, and improves our efficiency while keeping us focused on more important lines of thought!
Ben3eeE commentedon Oct 24, 2017
Closed via #15976