Shell tip: Ctrl-x Ctrl-e opens your current one-liner in vim for editing

4310sy · x · 2026-11-23

A handy shell trick: when you want to edit a long one-liner, press Ctrl-x then Ctrl-e to open the current command in vim; saving and closing executes it immediately.

Original post →

More from coding & agent

coding & agent channel →