Repeat or modify the next command in Emacs
In GNU Emacs, press Ctrl+U on Mac, Windows, Linux.
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
See it happen Press the shortcut above, or
More Emacs shortcuts: commands
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Run a command by name | OptionX | AltX | AltX |
| Cancel the current command | CtrlG | CtrlG | CtrlG |
| Undo | Ctrl/orCtrlX,U | Ctrl/orCtrlX,U | Ctrl/orCtrlX,U |
| Redo | CtrlShift/ | CtrlShift/ | CtrlShift/ |