Move the line down in Zed
In Zed, press Option+↓ (Mac), Alt+↓ (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 Zed shortcuts: editing
| Action | Mac | Windows | Linux |
|---|---|---|---|
| Undo | CmdZ | CtrlZ | CtrlZ |
| Redo | ShiftCmdZ | CtrlShiftZ | CtrlShiftZ |
| Comment or uncomment lines | Cmd/ | Ctrl/ | Ctrl/ |
| Duplicate the line | ShiftCmdD | CtrlShiftD | CtrlShiftD |
| Delete the line | ShiftCmdK | CtrlShiftK | CtrlShiftK |
| Move the line up | Option↑ | Alt↑ | Alt↑ |
| Select the next occurrence | CmdD | CtrlD | CtrlD |
| Select every occurrence | ShiftCmdL | CtrlShiftL | CtrlShiftL |
| Format the file | ShiftCmdI | CtrlShiftI | CtrlShiftI |
| Show completions | CtrlSpace | CtrlSpace | CtrlSpace |