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!
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!
Love this!