nethack-el-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nethack-el-devel] Using directions with other keybindings


From: Mario Domgörgen
Subject: [Nethack-el-devel] Using directions with other keybindings
Date: Sat, 09 Aug 2003 17:27:01 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Hej list!

I really like the idea of rebind the nethack-keybindings and so i
install nethack-el and all work great ...  except keybindings... :)

I use the following in my emacs:
,---- 
| (add-hook 'nethack-map-mode-hook
|         (lambda () 
|           (define-key nh-map-mode-map (kbd "<left>") 'nethack-command-west)
|           (define-key nh-map-mode-map (kbd "<up>") 'nethack-command-north)
|           (define-key nh-map-mode-map (kbd "<down>") 'nethack-command-south)
|           (define-key nh-map-mode-map (kbd "<right>") 'nethack-command-east)
|           (define-key nh-map-mode-map (kbd "<home>") 
'nethack-command-northwest)
|           (define-key nh-map-mode-map (kbd "<prior>") 
'nethack-command-northeast)
|           (define-key nh-map-mode-map (kbd "<end>") 
'nethack-command-southwest)
|           (define-key nh-map-mode-map (kbd "<next>") 
'nethack-command-southeast)
|           ))
`----

If i want to open a door wit o for example pressing <up> does result in
nothing, but k works great... ?!

Hope it's only a little dumb error by myself! :)

Mario

-- 
Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]