Allow for sublime style "Paste and Indent" #10614
Comments
The Atom behavior is a bug in auto-indent, which has been reported several times. |
This comment has been minimized.
This comment has been minimized.
If anyone has any idea of how to write this is a command in init.coffee that would be very helpful. I can't figure out how to access the clipboard from within atom. |
This comment has been minimized.
This comment has been minimized.
Oh YES! This is so annoying. I just wrote some repeating code structure where you do a lot of ctrl+c - ctrl+v. But it don't put the code where the cursor is so after a while I started to write all the code instead. That got to be the wrong way. But it felt easier. This should be prioritized. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This maybe is the answer...? |
Thanks for your contribution! This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Issues that are labeled as triaged will not be automatically marked as stale. |
Verified as still valid for 1.36.1 on linux following @skunkworker's example. |
Thanks for your contribution! This issue has been automatically marked as stale because it has not had recent activity. Because the Atom team treats their issues as their backlog, stale issues are closed. If you would like this issue to remain open:
Issues that are labeled as triaged will not be automatically marked as stale. |
Still relevant to me |
I can't seem to find any packages or settings in atom that can replicate Sublime's "Paste and Indent" behavior. What I want atom to do is to truncate the whitespace ahead of the content on the line and paste where my cursor is at. In both cases I triple click each line to select the entire contents.
Here are two gifs showing the difference, and in the atom gif I have the settings
autoIndentOnPaste: false
andnormalizeIndentOnPaste: false
Atom
Sublime (Paste and Indent)
Is there a way to get the same kind of behavior in Atom?
The text was updated successfully, but these errors were encountered: