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.
From a slightly different perspective, it would be nice if breaking the undo up was controllable. In vim's case it groups all characters typed in insert mode into a single undo transaction.
I'm hoping that this enhancement request will be getting more attention. I'm putting up with the character-by-character undo but it annoys me every time.
👍 Is this a thing that can be implemented? The single character undo is not the expected functionality for most text editing, unless you are in say, VIM mode.
Every time I start using atom for it's other awesome features (such as the good markdown preview), the undo function makes go back to Sublime. I would even pay money for a bounty to have this implemented either natively or as a plugin.
I am kind of surprised this wasn't built before. Do you use atom to write atom? For a second I was thinking that perhaps this was done on purpose because everyone uses git, so if they want to undo quickly, they can just checkout the file again...but I do between commit undoes and it appears that others still do as well.
Well, besides being able to do it, it should be able to apply for find-replaces and therefore work across all files.
When it just comes to typing in one file, I think most algorithms have some kind of timer that starts when typing stops. It resets if typing starts again before the timer hits 0--but if any mouse action occurs, timer hits 0. All these characters are batched together and effectively regarded as one action. If you want to get fancy, you could start it off at some generic timing, but have an ML algorithm learn how fast the typist typically is and restrict the timer down to that time plus some percentage...but that is probably overly fancy and prone to issues and maintainability complexities. A simple timer will probably work fine.
Similar to vim, you could batch everything that is not saved or since the last activation of a tab...would be "simple" but would require timestamps for events such as opening of a tab. Just throwing ideas out there.
I think it would be sufficient to just consider typing or deleting text a
special case and group only those characters together. Can anyone think of
another annoying situation?
Similar to vim, you could batch everything that is not saved or since the
last activation of a tab...would be "simple" but would require timestamps
for events such as opening of a tab. Just throwing ideas out there.
—
Reply to this email directly or view it on GitHub #1606 (comment).
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
mcolyer commentedon Feb 27, 2014
atom/vim-mode#55
From a slightly different perspective, it would be nice if breaking the undo up was controllable. In vim's case it groups all characters typed in insert mode into a single undo transaction.
philidem commentedon Jul 13, 2014
I'm hoping that this enhancement request will be getting more attention. I'm putting up with the character-by-character undo but it annoys me every time.
lallmon commentedon Jul 18, 2014
👍 Is this a thing that can be implemented? The single character undo is not the expected functionality for most text editing, unless you are in say, VIM mode.
pickerflicker commentedon Jul 18, 2014
Agreed! This is a bit of a deal breaker. I hope it gets resolved soon.
irunatbullets commentedon Aug 10, 2014
I'm looking forward to this being fixed, it reminds me of early Sublime Text.
tjpalmer commentedon Aug 15, 2014
I'm just now trying out Atom, and this is a HUGE bother.
irisli commentedon Aug 19, 2014
Every time I start using atom for it's other awesome features (such as the good markdown preview), the undo function makes go back to Sublime. I would even pay money for a bounty to have this implemented either natively or as a plugin.
kevinansfield commentedon Sep 18, 2014
Bump.
Is this being worked on at all?
kevinsawicki commentedon Sep 18, 2014
@kevinansfield Not being worked on currently, but it is planned to be included in Atom 1.0
bean5 commentedon Oct 9, 2014
I am kind of surprised this wasn't built before. Do you use atom to write atom? For a second I was thinking that perhaps this was done on purpose because everyone uses git, so if they want to undo quickly, they can just checkout the file again...but I do between commit undoes and it appears that others still do as well.
j-em commentedon Oct 29, 2014
Any (small) guidelines/ideas about how this should be implemented ?
bean5 commentedon Oct 30, 2014
Well, besides being able to do it, it should be able to apply for find-replaces and therefore work across all files.
When it just comes to typing in one file, I think most algorithms have some kind of timer that starts when typing stops. It resets if typing starts again before the timer hits 0--but if any mouse action occurs, timer hits 0. All these characters are batched together and effectively regarded as one action. If you want to get fancy, you could start it off at some generic timing, but have an ML algorithm learn how fast the typist typically is and restrict the timer down to that time plus some percentage...but that is probably overly fancy and prone to issues and maintainability complexities. A simple timer will probably work fine.
bean5 commentedon Oct 30, 2014
Similar to vim, you could batch everything that is not saved or since the last activation of a tab...would be "simple" but would require timestamps for events such as opening of a tab. Just throwing ideas out there.
mark-hahn commentedon Oct 30, 2014
I think it would be sufficient to just consider typing or deleting text a
special case and group only those characters together. Can anyone think of
another annoying situation?
On Wed, Oct 29, 2014 at 6:43 PM, Bean [email protected] wrote:
jtrinklein commentedon Oct 30, 2014
What about batching changes between pauses, as in when changes start, wait for (an adjustable) pause in editing, then batch changes.
mark-hahn commentedon Oct 30, 2014
That would not work for me. I often make a lot of big changes rapidly.
On Wed, Oct 29, 2014 at 6:52 PM, James Trinklein [email protected]
wrote:
benogle commentedon Nov 6, 2014
This is being implemented in #4071
lock commentedon Jan 25, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!