Dear Log,
Over the years, I picked up a lot of MSWindows keystroke habits. So recently I decided to make my Emacs recognize those habits of mine. Here they are:
(add-hook 'dired-mode-hook '(lambda () (define-key dired-mode-map [f2] 'dired-do-rename))) (global-set-key "\C-o" 'find-file) (global-set-key "\C-z" 'undo) (global-set-key [C-tab] 'other-window) (global-set-key [C-S-iso-lefttab] 'mode-line-other-buffer) (global-set-key [right] 'forward-char) (global-set-key [left] 'backward-char) (global-set-key [up] 'previous-line) (global-set-key [down] 'next-line) (global-set-key [next] 'scroll-up) (global-set-key [prior] 'scroll-down) (global-set-key [C-next] 'end-of-buffer) (global-set-key [C-prior] 'beginning-of-buffer) (global-set-key [home] 'beginning-of-line) (global-set-key [end] 'end-of-line) (global-set-key [C-home] 'beginning-of-line) (global-set-key [C-end] 'kill-line) (global-set-key [C-left] 'backward-word) (global-set-key [C-right] 'forward-word) (global-set-key [C-up] 'backward-paragraph) (global-set-key [C-down] 'forward-paragraph) (global-set-key [help] 'overwrite-mode) (global-set-key [C-help] 'kill-ring-save) (global-set-key [C-delete] 'delete-char) (global-set-key [S-help] 'yank) (global-set-key [S-delete] 'kill-region) (global-set-key [C-S-up] 'previous-history-element) (global-set-key [C-S-down] 'next-history-element) (global-set-key [f1] 'help-command) (global-set-key [f2] 'set-mark-command) (global-set-key [f3] 'search-forward) (global-set-key [f5] 'recenter) (global-set-key [f7] 'ispell-buffer) (global-set-key [f11] 'delete-other-windows) (global-set-key [C-f4] 'kill-this-buffer) (global-set-key [C-f6] 'mode-line-other-buffer)