[ / / / / / / / / / / / / / ] [ dir / 1piece / christ / hkon9 / hkpol / imouto / lovelive / magali / ylisla ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.923870>>923875 >>924020 >>924023 >>927383 [Watch Thread][Show All Posts]

*Fuck editors this is the ultimate battle*

CTRL+SHIFT+Z

or

CTRL+Y

this is the final frontier of standardization

 No.923875>>927383

>>923870 (OP)

This is all total shit. <Esc>uuuuuuuu master race.

Also shit thread.


 No.923877>>927383

>CTRL+SHIFT+Z

can be done with one finger on QWERTY. winrar


 No.923878>>923879

C-/


 No.923879

>>923878

Came here to post this. This whole debate is moot because in EXWM can bind C-/ to the appropriate keybind and it will simulate the keypress when using the application.


 No.923880>>923881

>his editor can't undo undos


 No.923881>>923884 >>923903 >>927383

>>923880

It's called redo, you giant faggot, and most editors have it. Now fuck off.


 No.923884>>923885

>>923881

>autosmo can't differentiate undoing undos and redos

heh. nice try, kid.


 No.923885>>923892 >>923903

>>923884

No, they are the same thing. Even if there was a miniscule difference, it would be insignificant, and nobody except for snobs like you would need to use it.


 No.923892>>923893

>>923885

Wrong. Learn about tree-style edit history.


 No.923893

>>923892

>forgetting to sage

I don't make so many fucking mistakes that I need a fucking TREE in my editor. I use git for that. Your retarded tree up your ass is just unnecessary bloat which should belong in the VCS.


 No.923903>>923905

>>923881

>>923885

I scoffed at the idea, too, so I don't blame you if you dismiss this as Emacs cultism, but trust me when I say there is a tremendous difference between a redo and undoing an undo, and it radically changes your workflow.


 No.923905>>923907

>>923903

Can you explain why it's better than just integrating an existing version control system into an editor?


 No.923907>>923909

>>923905

I'm not sure how I point out this irony without being a dick, but this "tree in your editor" is the way undo/redo works; in contrast, Emacs' undo and any text editor or software that can undo undo's has a completely linear undo path.


 No.923909>>923914

>>923907

> "tree in your editor" is the way undo/redo works

I would disagree. undo/redo is list, not a tree.


 No.923914>>923918

>>923909

Well, I don't know what to say other than that's wrong. Unless you're describing only undo and you've got your words mixed up.

With an undo/redo paradigm, it's very easy to accidentally prune entire redo paths by undoing actions and then making edits.

With only-undo, all your edits are recorded in the undo list, including undos themselves, so you redo by undoing again. This is why you will never lose any state your file was in with only-undo. The downside of this is that, in order to go back to a very far-off previous state, you have to enter more undos than you typically would, but, in Emacs at least, this is ammended by Emacs' numerical prefix and various other modules that you can use to query your undo path with fuzzy search and regexp and any other search method you can think of, probably.


 No.923918>>923923

File (hide): 05c2af96c6f9907⋯.png (8.51 KB, 500x250, 2:1, Oekaki.png) (h) (u)

>>923914

Sure looks like a list to me. In pic related notice how when we undo we go back a node and when we redo we go forward a node.


 No.923923>>923927

File (hide): ce2c2e1069b3e9f⋯.png (87.4 KB, 500x250, 2:1, Oekaki.png) (h) (u)

>>923918

It's more like this. See? You're confining yourself to this linear plain. I may have implied it, but I take it back now: the undo/redo paradigm isn't technically inferior to only-undo--just different. But it doesn't mean the two aren't fundamentally different.


 No.923927>>923928 >>923929 >>924729

File (hide): 085a433eff6b5b1⋯.png (5.31 KB, 500x250, 2:1, Oekaki.png) (h) (u)

>>923923

There is no way to go back to the D node anymore.


 No.923928>>924023

>>923927

vim's undo is a tree. Look into what 'g-' does. It lets vim provide the advantage of quick undo/redo without the risk of losing work. Provided you understand it.


 No.923929

>>923927

Exactly! Now you get it. But in most contemporary editors, there are tools that will help you manage these undo trees, so it's not really a problem, just not as elegant.


 No.924020>>924051 >>924055

>>923870 (OP)

CMD+Z

Seriously, why hasn't this caught on? The super key is barely being used on most DEs.


 No.924023

>>923870 (OP)

i actually like ctrl + shift + z, but i rather press u to undo

>>923928

oh damn that's cool, I think i know how it works


 No.924051

>>924020

It's really uncomfortable to hit the super key though.


 No.924055>>924277

>>924020

Because the whole point of the Super key is that keybinds for your WM don't overlap with popular keybindings for other applications, idiot.


 No.924277>>924282

>>924055

>managing your windows with key combinations

buy a mouse, 'tismo


 No.924282

>>924277

Oh, you're this kind of faggot. I suppose clicking on the undo/redo buttons might be better for you.


 No.924729>>924792


 No.924792

>>924729

<Standard YouTube License

Fucking shill.


 No.927249>>927276 >>927334 >>927383 >>928939

shift is used more elsewhere and carriers a connotation of shifting direction.

ctrl-z undo, ctrl-shift-z redo

alt-tab next window, alt-shift-tab previous window

tab next element, shift-tab previous element

etc.

If x does something, shift-x should do the opposite.


 No.927276>>927321

>>927249

No, retard, when shift key is active the 6th bit of the character is cleared, meaning the character set is 'shifted'.


 No.927321

>>927276

I don't see the relevance.


 No.927334

>>927249

Thank you for this. It's kind of the same for Emacs, where Meta is a larger version of its Ctrl counterpart, and Ctrl-Meta as a superset of the two.


 No.927383

>>923875

This. u and C-R are best complements. Also, U and u, for when you leave capslock on or when you try to insert a capital u but aren't in insert mode.

>>923877

>one finger

>>923881

>do action

>undo action

>do new action

>how undo first undo?

>>927249

this

ctrl-y is retarded

>ctrl-z is undo

>y is next to z in the alphabet

>therefore, ctrl-y should be redo!

>this is what ctrl-y fags actually beleive

also

>>923870 (OP)

>*Fuck editors this is the ultimate battle*

good luck OP


 No.928939

>>927249

Firmly behind ctrl-shift-z after reading this. Ctrl-y fags need to be purged from FLOSS communities and an empire of consistent redoing in GUIs established.

I'm OP btw


 No.928997

If your editor cannot handle regional undo, trash it.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
35 replies | 4 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 1piece / christ / hkon9 / hkpol / imouto / lovelive / magali / ylisla ][ watchlist ]