; Emacs configuration file for Windows-users ; (c) 2007-08-01 Fabian M. Suchanek ; http://suchanek.name -> programs -> emacs ; ; Overwrite the file "~/.emacs" with this file and ; Emacs will behave a little like Windows editors (e.g. ; the delete-key will delete a character). ; ; By using this file, you accept that you use this ; file completely at your own risk! (global-set-key [(begin)] 'beginning-of-line) (global-set-key [(left)] 'backward-char) (global-set-key [(deletechar)] 'delete-char) (global-set-key [(end)] 'end-of-line) (global-set-key [(right)] 'forward-char) (global-set-key [(f1)] 'help-with-tutorial) (global-set-key [(RET)] 'newline-and-indent) (global-set-key [(down)] 'next-line) (global-set-key [(control f)] 'isearch-forward) ;(global-set-key [()] 'backward-page) ;(global-set-key [()] 'forward-page) (global-set-key [(control z)] 'undo) (global-set-key [(DEL)] 'delete-backward-char) (global-set-key [(alt f4)] 'save-buffers-kill-emacs) (global-set-key [(meta f4)] 'save-buffers-kill-emacs) (global-set-key [(control q)] 'save-buffers-kill-emacs) (global-set-key [(f10)] 'save-buffers-kill-emacs) (global-set-key [(control s)] 'save-buffer) (global-set-key [(control a)] 'mark-whole-buffer) (global-set-key [(control shift f)] 'isearch-forward-regexp) (global-set-key [(control r)] 'query-replace) (global-set-key [(control begin)] 'beginning-of-buffer) (global-set-key [(control end)] 'end-of-buffer) (global-set-key [(control left)] 'backward-word) (global-set-key [(control right)] 'forward-word) (global-set-key [(control DEL)] 'backward-kill-word) (global-set-key [(control TAB)] 'other-window) (global-set-key [(control shift s)] 'write-named-file) (global-set-key [(control o)] 'find-file) (global-set-key [(shift right)] 'set-mark-command) (global-set-key [(control b)] 'set-mark-command) (global-set-key [(control x)] 'kill-region) (global-set-key [(control c)] 'copy-region-as-kill) (global-set-key [(control v)] 'yank) (global-set-key [(TAB)] 'indent-for-tab-command) (global-set-key [(control f4)] 'kill-buffer) (global-set-key [(control w)] 'kill-buffer) (global-set-key "\e[3~" 'delete-char) (global-set-key "\e[C" 'forward-word) (global-set-key "\e[D" 'backward-word) (global-set-key "\e[5~" 'backward-page) (global-set-key "\e[6~" 'forward-page) (global-set-key "\e[4~" 'end-of-line) (global-set-key "\e[1~" 'beginning-of-line) (global-set-key "\e[[D" 'save-buffers-kill-emacs) (global-set-key "\e[[A" 'help-with-tutorial)