Skip to content

↑↓ moveEnter openEsc close

Copy line: the shortcut in both apps

2 apps · Mac, Windows and Linux

On Mac it is usually Y Y (2 of 2 apps); on Windows it is usually Y Y (2 of 2 apps); on Linux it is usually Y Y (2 of 2 apps). The table shows where each app agrees and where it differs.

AppMacWindowsLinux
NeovimCopy (yank) the line · Normal modeY,YY,YY,Y
VimCopy (yank) the line · Normal modeY,YY,YY,Y

Small screen: your system's keys only. Open an app's row for every system.

A dash means the app has no default binding, or does not run, on that system. Open a row for notes and the full key details.

How the apps compare

  • Mac: every app here uses Y,Y.
  • Windows: every app here uses Y,Y.
  • Linux: every app here uses Y,Y.

Where and when it works

Learn it by pressing it: Neovim shortcuts practice or Vim shortcuts practice.