Wikipedia

Control-Y

Control-Y is a common computer command. It is generated by holding Ctrl and pressing the Y key on most Computer Keyboards.

In most Windows applications this keyboard shortcut functions as Redo, reversing a previous Undo. In some programs such as Microsoft Office it repeats the previous action if it was something other than Undo.[1]

Apple Macintosh systems use ⇧ Shift+⌘ Command+Z for Redo.[2] In general a shortcut on Macintosh using ⌘ Command matches up with a shortcut on Windows using Ctrl, this is one of the most noticeable conflicts.

Many programs (on all systems including Linux) support both Ctrl+Y and Ctrl+⇧ Shift+Z for Redo, due to this conflict. But quite a few remain where only one or the other shortcut works.

Older applications

Ctrl+Y deleted the current line in the WordStar word processor for CP/M and MS-DOS.[3] In the 1980s, many text editors and word processors mimicked the WordStar command set, making Ctrl+Y a common synonym for "delete line."

In Borland IDEs it also deletes the current line.

In emacs it does a paste action (known as "yank").[4] Emacs uses Ctrl+/ for Undo and Redo.

In vi and vim it scrolls the display up one line.

In the pico and nano text editors this shortcut scrolls one page up.[5][6]

In SAP GUI it enters block-select mode.

See also

References

  1. ^ "Keyboard shortcuts in Word".
  2. ^ Apple Shortcut Key Standards
  3. ^ WordStar Reference Card. archive.org. San Rafael, CA: MicroPro. June 1980.
  4. ^ Yanking - GNU Emacs Manual
  5. ^ "U-M Information and Technology Services".
  6. ^ "Archived copy". Archived from the original on 2015-11-27. Retrieved 2015-12-09.


This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.