Support repeat last action for actions using a visual selection.

- Actions are [c], [d], [J], [s], [S], [x], and [~].