Well, after upgrading to v1.2.x, I began the task of merging changes
in with my local customizations.  Imagine my glee at seeing the
"command-sequence" binding!  At last --- we can add a proper
char-transpose to the Emacs bindings!

Below are two lines, to be added to "emacs.bind" and "xemacs.bind".
They implement a char-transpose and a crude word-transpose function.
Note that the word-transpose isn't sophisticated like the one in
emacs.  Still, it will suffice.

# Char-transpose
\bind "C-t"                 "command-sequence forward-select; cut; char-backward; 
paste; char-forward;"
# Word-transpose [sorta]
\bind "M-t"                 "command-sequence word-forward-select; forward-select; 
cut; word-backward; paste; word-forward;"


-- 
John Weiss

Reply via email to