Truncate mode improvements #41
Closed
gabrieljcs
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
This is indeed needed. Will work on this soon. Actually, we need more ways to delete sequences of bytes. I can probably work on a PR to improve the general editing interface. Thanks for suggesting it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@gabrieljcs it turns out deleting bytes is harder than it seems, but I did some work on the "reverse truncate" feature you asked for. Take a look: https://github.com/mentebinaria/dz6/tree/improvement/truncate |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a way to "reverse" truncate?
I would like to remove all bytes "above" my cursor instead of "below".
My use case is to remove a stub/wrapper from a file, which I guess would be quite a common use case.
A warning before truncating would probably also be useful given its destructiveness.
Best regards.
Beta Was this translation helpful? Give feedback.
All reactions