Difference between revisions of "Direction"

From NetHackWiki
Jump to navigation Jump to search
(first info.)
 
m (no need for monospace now)
Line 2: Line 2:
  
 
If you have a number pad on your keyboard, you can turn on the num lock and set <tt>[[number_pad]]:1</tt> in your [[options]] to use the keys for directions and movement:
 
If you have a number pad on your keyboard, you can turn on the num lock and set <tt>[[number_pad]]:1</tt> in your [[options]] to use the keys for directions and movement:
{| class="prettytable" style="font-family: monospace;"
+
{| class="prettytable"
 
||{{kbd|7}}||{{kbd|8}}||{{kbd|9}}
 
||{{kbd|7}}||{{kbd|8}}||{{kbd|9}}
 
|-
 
|-
Line 11: Line 11:
  
 
To use the vi-keys for directions or movement, set <tt>[[number_pad]]:0</tt> in your [[options]]:
 
To use the vi-keys for directions or movement, set <tt>[[number_pad]]:0</tt> in your [[options]]:
{| class="prettytable" style="font-family: monospace;"
+
{| class="prettytable"
 
||{{kbd|y}}||{{kbd|k}}||{{kbd|u}}
 
||{{kbd|y}}||{{kbd|k}}||{{kbd|u}}
 
|-
 
|-

Revision as of 15:36, 22 April 2009

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

If you have a number pad on your keyboard, you can turn on the num lock and set number_pad:1 in your options to use the 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


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

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