Anju makes the following modifications to the main menu bar Edit menu:
On the macOS NS variant of Emacs, the following menu items are added.
The commands provided by the above additions to the Edit menu are shown below.
rgrep)
transpose-chars)
transpose-words)
transpose-lines)
transpose-sentences)
transpose-paragraphs)
transpose-regions)
transpose-sexps)
casual-editkit-move-word-forward)
casual-editkit-move-word-backward)
casual-editkit-move-sentence-forward)
casual-editkit-move-sentence-backward)
casual-editkit-move-sexp-forward)
casual-editkit-move-sexp-backward)
join-line)
just-one-space)
delete-horizontal-space)
delete-pair)
delete-blank-lines)
whitespace-cleanup)
delete-trailing-whitespace)
zap-up-to-char)
zap-to-char)
flush-lines)
keep-lines)
duplicate-dwim)
ns-popup-color-panel) (only on macOS NS)
ns-do-show-character-palette) (only on macOS NS)
Note that a menu command can be run again immediately after it has been issued using the repeat command (binding C-x z). This is useful when using the move text commands.
These modifications are optional. For more detail, see Edit Menu Customization.