make zsh's undo behave like readline's The 2019 Stack Overflow Developer Survey Results Are...

"as much details as you can remember"

Is there a way to generate a uniformly distributed point on a sphere from a fixed amount of random real numbers?

Does adding complexity mean a more secure cipher?

Why can I use a list index as an indexing variable in a for loop?

What does もの mean in this sentence?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

Mathematics of imaging the black hole

Why doesn't shell automatically fix "useless use of cat"?

Is an up-to-date browser secure on an out-of-date OS?

How can I define good in a religion that claims no moral authority?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

Why did Peik say, "I'm not an animal"?

Falsification in Math vs Science

ELI5: Why they say that Israel would have been the fourth country to land a spacecraft on the Moon and why they call it low cost?

How do PCB vias affect signal quality?

A female thief is not sold to make restitution -- so what happens instead?

How come people say “Would of”?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

How to notate time signature switching consistently every measure

What is this business jet?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?



make zsh's undo behave like readline's



The 2019 Stack Overflow Developer Survey Results Are InHow can I make zsh completion behave like Bash completion?How do I use zsh's zle_highlight to highlight only “|”?How can I make zsh's vi mode behave more like bash's vi mode?how to make ctrl+p behave exactly like up arrow in zsh?How to make zsh completion like bashCommon keyboard shortcuts for zsh zle and bash readlineWhat is this? Debian Wheezy, Weird randomly occuring inputsHow does dpkg know that a config file has been deleted?Bitvise SSH Server putting extra spaces in sessionScroll to bottom on new output





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















In zsh, if I type some text and the hit undo (C-_ or C-/), it undoes every keypress separately. Most other programs (readline, vim, etc.) would undo all keypresses at once (except if there was some event in between them that breaks the undo sequence). Is there any way to get this behaviour in zsh?










share|improve this question





























    1















    In zsh, if I type some text and the hit undo (C-_ or C-/), it undoes every keypress separately. Most other programs (readline, vim, etc.) would undo all keypresses at once (except if there was some event in between them that breaks the undo sequence). Is there any way to get this behaviour in zsh?










    share|improve this question

























      1












      1








      1








      In zsh, if I type some text and the hit undo (C-_ or C-/), it undoes every keypress separately. Most other programs (readline, vim, etc.) would undo all keypresses at once (except if there was some event in between them that breaks the undo sequence). Is there any way to get this behaviour in zsh?










      share|improve this question














      In zsh, if I type some text and the hit undo (C-_ or C-/), it undoes every keypress separately. Most other programs (readline, vim, etc.) would undo all keypresses at once (except if there was some event in between them that breaks the undo sequence). Is there any way to get this behaviour in zsh?







      linux shell zsh input






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      0x5390x539

      1528




      1528






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423827%2fmake-zshs-undo-behave-like-readlines%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1423827%2fmake-zshs-undo-behave-like-readlines%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...