;; Set up the keyboard so the delete key on both the regular keyboard
;; and the keypad delete the character under the cursor and to the right
;; under X, instead of the default, backspace behavior.
(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)

;; turn on font-lock mode
(global-font-lock-mode t)
;; enable visual feedback on selections
(setq-default transient-mark-mode t)

;; always end a file with a newline
(setq require-final-newline t)

;; stop at the end of the file, not just add lines
(setq next-line-add-newlines nil)

(custom-set-variables)
(custom-set-faces
 '(font-lock-comment-face ((t (:foreground "MediumPurple1"))))
 '(font-lock-string-face ((t (:foreground "light pink"))))
 '(region ((t (:background "gray"))))
 '(font-lock-keyword-face ((t (:foreground "deep sky blue"))))
 '(font-lock-constant-face ((((class color) (background light)) (:foreground "aquamarine"))))
 '(font-lock-preprocessor-face ((((class color) (background light)) (:foreground "steelblue1"))))
 '(font-lock-type-face ((t (:foreground "lemon chiffon"))))
 '(font-lock-variable-name-face ((t (:foreground "spring green"))))
 '(font-lock-function-name-face ((((class color) (background light)) (:foreground "blue3")))))


                                                                                          
