deadpixi / sam

An updated version of the sam text editor.
Other
433 stars 47 forks source link

is redo(undo the undo) in plans? #80

Open ghost opened 6 years ago

ghost commented 6 years ago

i know it was not in original sam but this is an incredibly useful feature. i think i even saw it somewhere implemented like 'u-1' or something like that.. or it was just a dream?

markvanatten commented 6 years ago

u-1 undoes the last undo in the original sam.

u-2, u-3, ...

Mark.

On Thu, 24 May 2018 7:57 pm slump64, notifications@github.com wrote:

i know it was not in original sam but this is an incredibly useful feature. i think i even saw it somewhere implemented like 'u-1' or something like that.. or it was just a dream?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/deadpixi/sam/issues/80, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJxHEZAGayKX7EufPxwzD4zAojUOPG1ks5t1vSkgaJpZM4UMttp .

ghost commented 6 years ago

@markvanatten oh, so that wasn't a dream hmm that's even more interesting!

aksr commented 6 years ago

+1 @markvanatten: You're right, u-1 exists in p9p and in Plan 9.

deadpixi commented 6 years ago

Something similar is planned, yes. The whole journal bit is being slowly rewritten to use a more flexible data structure.

I'll do my best to ensure that it mimics the Plan 9 version's behavior, for the sake of familiarity.

aksr commented 5 years ago

Any ETA on this?

aksr commented 3 years ago

@deadpixi : If you don't mind my asking, do you use sam regularly and if so, is any work done on this?

IMHO, this is the biggest issue with sam ATM...

aaronNGi commented 3 years ago

@deadpixi : If you don't mind my asking, do you use sam regularly and if so, is any work done on this?

IMHO, this is the biggest issue with sam ATM...

Sorry for digging this up but I just started using sam. Because I'm unhappy with a couple of things, I'm brainstorming about how my perfect sam would look like. Of course I stumbled over the lack of redo but I settled on the KISS solution, which is to simply do all the edits in the sam window. That way you can always redo from the buffer.