;;; nethack-init.el --- Initialize nethack ;; This file is part of Michael Olson's Emacs settings. ;; The code in this file may be used, distributed, and modified ;; without restriction. ;; I use initsplit.el to separate customize settings on a per-project ;; basis. ;; Set load path ;; Add working directories to load path (add-to-list 'load-path "/home/mwolson/proj/emacs/nethack-el/cvs-nethack") ;; Initialize (require 'nethack) ;;; Keystrokes (define-key nh-map-mode-map [left] 'nethack-command-west) (define-key nh-map-mode-map [right] 'nethack-command-east) (define-key nh-map-mode-map [up] 'nethack-command-north) (define-key nh-map-mode-map [down] 'nethack-command-south) ;;; Customizations (custom-set-variables '(nethack-program "nethack-lisp") '(nethack-status-style :map)) (custom-set-faces '(nethack-dark-gray-face ((((class color) (background light)) (:foreground "steel blue")))) '(nethack-gray-face ((((class color) (background light)) (:foreground "dim gray"))))) ;;; nethack-init.el ends here