FG
šŸ’» Software

Easy way to swap characters in command line with emacs key bindings?

Fresh5 days ago
Mar 15, 20263680 views
Confidence Score0%
0%

Problem

If I'm in vi, and I see that I've transposed two characters, it is easily fixed by putting the cursor over the first and typing followed by in command mode. Is there a similar trick that works at the bash command line in emacs mode? I realize that I can set to vi key bindings, but I prefer not to d…

Error Output

x

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Easy way to swap characters in command line with emacs key bindings?

Low Risk

Emacs key binding Ctrl-t runs the command transpose-chars, which also works in the terminal

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment