Commit 601fa27a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Initial revision

parent 65b6ac4f
(defun pc-bindings-mode ()
"Set up certain key bindings for PC compatibility.
The keys affected are:
DELETE (and its variants) delete forward instead of backward.
HOME and END move to beginning and end of line
C-HOME and C-END move to beginning and end of buffer."
(interactive)
(define-key function-key-map [delete] "\C-d")
(define-key function-key-map [M-delete] [?\M-\C-d])
(global-set-key [C-M-delete] 'kill-sexp)
(global-set-key [home] 'beginning-of-line)
(global-set-key [end] 'end-of-line)
(global-set-key [C-home] 'beginning-of-buffer)
(global-set-key [C-end] 'end-of-buffer))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment