How to transpose command line arguments with emacs keybindings?
1
vote
5
answers
862
views
Using Bash, with emacs keybindings set, the transpose-words keybinding (
M-t
) doesn't transpose arguments, but "words" (by its own definition of words).
So if I have this:
vimdiff project-number-One/Vagrantfile project-number-Two/Vagrantfile.old
and my cursor is between the first and second argument when I enter optiont, I instead end up with
vimdiff project-number-One/project Vagrantfile-number-Two/Vagrantfile.old
which is obviously not what I want. How can I transpose arguments?
Asked by iconoclast
(9402 rep)
Oct 16, 2014, 06:29 PM
Last activity: Dec 10, 2024, 08:46 AM
Last activity: Dec 10, 2024, 08:46 AM