Tuesday, September 16, 2008

Simple .emacs file for customising Emacs

;; [Home] & [End] key should take you to beginning and end of lines..
(global-set-key [home] 'beginning-of-line)
(global-set-key [end] 'end-of-line)

;;For Deleting Operation delete under cursor and to the right of it
(global-set-key [delete] 'delete-char)

;; syntax highlighting by default
(global-font-lock-mode 1)

;; do not make backup files ie ~ files 
(setq make-backup-files nil)

No comments: