emacs clipboard cut and paste, done right!

By Hal Canary, 2004-04-05 00:50:23 (link)

;; ~/.emacs ;;
(global-unset-key [(control v)]) ;;use page-down
(global-set-key   [(control v)]
(global-unset-key [(control shift v)]) ;;use page-up
(global-set-key   [(control shift v)]
(global-unset-key [(control shift c)])
(global-set-key   [(control shift c)]
(global-unset-key [(control shift x)])
(global-set-key   [(control shift x)]

I figured this out after reading HP's essay on useability, where he mentions that “Emacs is basically the last remaining X application that insists on having cut and paste that doesn't work correctly.”

A while back, I vowed to switch from emacs to another editor. Silly me. That could never happen.