Sunday, October 12, 2008

Emacs has extended column editing support through its CUA-MODE (Common User Access). To activate it one should put these lines in his .emacs file:

(setq cua-enable-cua-keys nil)
(setq cua-highlight-region-shift-only nil) ;; no transient mark mode
(setq cua-toggle-set-mark nil) ;; original set-mark behavior, i.e. no transient-mark-mode
(cua-mode)


(Taken from LIFE IS TOO SHORT FOR BAD CODE)