Difference between revisions of "Direction"

From NetHackWiki
Jump to navigation Jump to search
(clarify that this information only applies to some ports)
Line 19: Line 19:
 
|}
 
|}
  
Whichever you set, the arrow keys can always be used.
+
Whichever you set, the arrow keys can always be used, if using a port that allows for the arrow keys to work properly (most [[graphical user interface|graphical]] ports do, but many terminal-based ports don't).
  
 
Whenever you are prompted for a direction, you can also use the following:
 
Whenever you are prompted for a direction, you can also use the following:

Revision as of 15:18, 3 September 2011

There are 8 cardinal directions in NetHack. You can use either the number keys or the vi-keys:

Set number_pad:1 in your options to use the number keys for directions and movement:

7 8 9
4 6
1 2 3

To use the vi-keys for directions or movement, set number_pad:0 in your options:

y k u
h l
b j n

Whichever you set, the arrow keys can always be used, if using a port that allows for the arrow keys to work properly (most graphical ports do, but many terminal-based ports don't).

Whenever you are prompted for a direction, you can also use the following:

  • upwards, <
  • downward, >
  • towards yourself, s or .