Discussion about this post

User's avatar
bobbyquine_'s avatar

Nice one, it's kinda like internalizing `ddp` for swapping 2 lines! To add on, your terminal/shell usually uses Emacs-style bindings, and invoking Ctrl-t will swap the characters on the left of the cursor with the right. For macOS users, Emacs-style bindings is OS-wide, so you can use Ctrl-t anywhere!

Expand full comment
Andrei Glingeanu's avatar

Love this!

Expand full comment
1 more comment...

No posts