Difference between revisions of "Commands (by key)"

From NetHackWiki
Jump to navigation Jump to search
m (Phol ende wodan moved page Commands to Commands (by key) without leaving a redirect: This page is a good lookup table for what a key does, but leaves out the existence of extended commands)
(Added commands when number_pad is enabled)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{keyboard commands}}
 
{{keyboard commands}}
''Italic'' commands are available only in [[wizard mode]].
+
Commands in (parentheses) are available only if [[Options#number_pad|number_pad]] is enabled; the directions given assume it is set to 1 or 2 (not the phone-style keypad layout). Commands in ''italics'' are available only in [[wizard mode]].
 +
 
 
{| class="sortable wikitable" border="1"
 
{| class="sortable wikitable" border="1"
 
|-
 
|-
Line 14: Line 15:
 
| [[Apply]]
 
| [[Apply]]
 
| A
 
| A
| [[Take off|Take off many]]
+
| Unequip multiple items
 
| [[Adjust]]
 
| [[Adjust]]
 
| SOH
 
| SOH
Line 20: Line 21:
 
|-
 
|-
 
| b
 
| b
| [[Yuhjklbn|Southwest]]
+
| [[Movement|Move]] [[Yuhjklbn|southwest]]
 
| B
 
| B
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|southwest]]
 
|
 
|
 
| STX
 
| STX
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|southwest]]
 
|-
 
|-
 
| c
 
| c
Line 38: Line 39:
 
| [[Drop]]
 
| [[Drop]]
 
| D
 
| D
| [[Drop]]
+
| [[Drop|Drop multiple]]
 
| [[Dip]]
 
| [[Dip]]
 
| EOT
 
| EOT
Line 60: Line 61:
 
|-
 
|-
 
| g
 
| g
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[G|Go mode]]
 
| G
 
| G
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[G|Go mode]]
 
|
 
|
 
| BEL
 
| BEL
Line 68: Line 69:
 
|-
 
|-
 
| h
 
| h
| [[Yuhjklbn|West]]
+
| [[Movement|Move]] [[Yuhjklbn|west]] / ([[Help (in-game)|Help]])
 
| H
 
| H
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|west]]
 
|
 
|
 
| BS
 
| BS
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|west]]
 
|-
 
|-
 
| i
 
| i
 
| [[Inventory]]
 
| [[Inventory]]
 
| I
 
| I
| [[Inventory]]
+
| [[Inventory|Inventory specific types]]
 
| [[Invoke]]
 
| [[Invoke]]
 
| HT
 
| HT
Line 84: Line 85:
 
|-
 
|-
 
| j
 
| j
| [[Yuhjklbn|South]]
+
| [[Movement|Move]] [[Yuhjklbn|south]] / ([[Jump]])
 
| J
 
| J
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
| [[Jump]]
 
| [[Jump]]
 
| LF
 
| LF
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
|-
 
|-
 
| k
 
| k
| [[Yuhjklbn|North]]
+
| [[Movement|Move]] [[Yuhjklbn|north]] / ([[Kick]])
 
| K
 
| K
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|north]]
 
|
 
|
 
| VT
 
| VT
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|north]]
 
|-
 
|-
 
| l
 
| l
| [[Yuhjklbn|East]]
+
| [[Movement|Move]] [[Yuhjklbn|east]] / ([[Loot]])
 
| L
 
| L
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|east]]
 
| [[Loot]]
 
| [[Loot]]
 
| FF
 
| FF
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|east]] / (Redraw screen)
 
|-
 
|-
 
| m
 
| m
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[M|Move only]]
 
| M
 
| M
| [[Movement tactics#Moving without attacking or picking up objects|Movement]]
+
| [[M|Move only]]
 
| [[Monster]]
 
| [[Monster]]
 
| CR
 
| CR
| Go mode south
+
| [[G|Go mode]] [[Yuhjklbn|south]]
 
|-
 
|-
 
| n
 
| n
| [[Yuhjklbn|Southeast]]
+
| [[Movement|Move]] [[Yuhjklbn|southeast]] / ([[Numeric prefix]])
 
| N
 
| N
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|southeast]] / ([[Name]])
 
| [[Name]]
 
| [[Name]]
 
| SO
 
| SO
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|southeast]] / ([[Annotate]])
 
|-
 
|-
 
| o
 
| o
Line 129: Line 130:
 
| [[Offer]]
 
| [[Offer]]
 
| SI
 
| SI
| ''Show locations of [[special levels]]''
+
| [[Overview]]
 
|-
 
|-
 
| p
 
| p
Line 135: Line 136:
 
| P
 
| P
 
| [[Put on]]
 
| [[Put on]]
| [[Prayer]]
+
| [[Prayer|Pray]]
 
| DLE
 
| DLE
 
| Repeat previous messages
 
| Repeat previous messages
Line 167: Line 168:
 
| T
 
| T
 
| [[Take off]]
 
| [[Take off]]
| [[Turn]]
+
| [[Turn undead]]
 
| DC4
 
| DC4
| [[Teleportation]]
+
| [[Teleport]]
 
|-
 
|-
 
| u
 
| u
| [[Yuhjklbn|Northeast]]
+
| [[Movement|Move]] [[Yuhjklbn|northeast]] / ([[Untrap]])
 
| U
 
| U
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|northeast]]
 
| [[Untrap]]
 
| [[Untrap]]
 
| NAK
 
| NAK
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|northeast]]
 
|-
 
|-
 
| v
 
| v
Line 198: Line 199:
 
| [[Swap weapons]]
 
| [[Swap weapons]]
 
| X
 
| X
| [[Explore mode]]
+
| [[Twoweapon]]
 
|
 
|
 
| CAN
 
| CAN
Line 204: Line 205:
 
|-
 
|-
 
| y
 
| y
| [[Yuhjklbn|Northwest]]
+
| [[Movement|Move]] [[Yuhjklbn|northwest]]
 
| Y
 
| Y
| [[G#Go mode|Go mode]]
+
| [[G|Go mode]] [[Yuhjklbn|northwest]]
 
|
 
|
 
| EM
 
| EM
| Go mode
+
| [[G|Go mode]] [[Yuhjklbn|northwest]]
 
|-
 
|-
 
| z
 
| z
 
| [[Zap]]
 
| [[Zap]]
 
| Z
 
| Z
| [[Spellcasting]]
+
| [[Spellcasting|Spellcast]]
 
|
 
|
 
| SUB
 
| SUB
Line 220: Line 221:
 
|-
 
|-
 
| 1
 
| 1
|
+
| [[Numeric prefix]] / (Move southwest)
 
| !
 
| !
 
| [[Shell escape]]
 
| [[Shell escape]]
Line 228: Line 229:
 
|-
 
|-
 
| 2
 
| 2
|
+
| [[Numeric prefix]] / (Move south)
 
| @
 
| @
| [[Autopickup]]
+
| Toggle [[Autopickup]]
 
|
 
|
 
| NUL
 
| NUL
Line 236: Line 237:
 
|-
 
|-
 
| 3
 
| 3
|
+
| [[Numeric prefix]] / (Move southeast)
 
| #
 
| #
 
| [[Extended command]]
 
| [[Extended command]]
Line 244: Line 245:
 
|-
 
|-
 
| 4
 
| 4
|
+
| [[Numeric prefix]] / (Move west)
 
| $
 
| $
 
| [[Purse]]
 
| [[Purse]]
Line 252: Line 253:
 
|-
 
|-
 
| 5
 
| 5
|
+
| [[Numeric prefix]] / ([[G|Go mode]])
 
| %
 
| %
 
|
 
|
Line 260: Line 261:
 
|-
 
|-
 
| 6
 
| 6
|
+
| [[Numeric prefix]] / (Move east)
 
| ^
 
| ^
| [[Trap id]]
+
| [[Trap ID]]
 
|
 
|
 
| RS
 
| RS
Line 268: Line 269:
 
|-
 
|-
 
| 7
 
| 7
|
+
| [[Numeric prefix]] / (Move northwest)
 
| &
 
| &
| Identify [[Commands|command]]
+
| Identify [[command]]
 
|
 
|
 
|
 
|
Line 276: Line 277:
 
|-
 
|-
 
| 8
 
| 8
|
+
| [[Numeric prefix]] / (Move north)
 
| *
 
| *
| List currently used weapons & armor
+
| List currently equipped items
 
|
 
|
 
|
 
|
Line 284: Line 285:
 
|-
 
|-
 
| 9
 
| 9
|
+
| [[Numeric prefix]] / (Move east)
 
| (
 
| (
 
| List currently used tools
 
| List currently used tools
Line 292: Line 293:
 
|-
 
|-
 
| 0
 
| 0
|
+
| [[Numeric prefix]] / ([[Inventory]])
 
| )
 
| )
| List weapons
+
| List currently wielded weapons
 
|
 
|
 
|
 
|
Line 342: Line 343:
 
| [[What is]]
 
| [[What is]]
 
| ?
 
| ?
| [[Help (in-game)]]
+
| [[Help (in-game)|Help]]
 
| [[Extended command|List all extended commands]]
 
| [[Extended command|List all extended commands]]
 
| DEL
 
| DEL

Latest revision as of 21:28, 27 June 2021

Keyboard commands
~ ! @ # $ % ^ & * ( ) _ = +
Q W E R T Y U I O P { } |
q w e r t y u i o p [ ] \
A S D F G H J K L : "
a s d f g h j k l ; '
Z X C V B N M < > ?
z x c v b n m , . /
q w e r t u i o p Alt
a s d f j l Alt
c v n m ? Alt
A C R T O Alt
a c d o p r t [ Ctrl

Commands in (parentheses) are available only if number_pad is enabled; the directions given assume it is set to 1 or 2 (not the phone-style keypad layout). Commands in italics are available only in wizard mode.

Key Key + Shift Key + Alt Key + Ctrl
a Apply A Unequip multiple items Adjust SOH Repeat previous command
b Move southwest B Go mode southwest STX Go mode southwest
c Close door C Call Chat ETX Quit
d Drop D Drop multiple Dip EOT Kick
e Eat E Engraving Enhance ENQ Search room
f Fire F Fight Force ACK Map level
g Go mode G Go mode BEL Create monster
h Move west / (Help) H Go mode west BS Go mode west
i Inventory I Inventory specific types Invoke HT Identify
j Move south / (Jump) J Go mode south Jump LF Go mode south
k Move north / (Kick) K Go mode north VT Go mode north
l Move east / (Loot) L Go mode east Loot FF Go mode east / (Redraw screen)
m Move only M Move only Monster CR Go mode south
n Move southeast / (Numeric prefix) N Go mode southeast / (Name) Name SO Go mode southeast / (Annotate)
o Open O Options Offer SI Overview
p Pay bill P Put on Pray DLE Repeat previous messages
q Quaff Q Quiver Quit DC1 Resume pause
r Read R Remove Rub DC2 Redraw screen
s Search S Save Sit DC3 Pause
t Throw T Take off Turn undead DC4 Teleport
u Move northeast / (Untrap) U Go mode northeast Untrap NAK Go mode northeast
v Version V Game history Version SYN Levelport
w Wield W Wear Wipe ETB Wish
x Swap weapons X Twoweapon CAN Base attributes and intrinsics
y Move northwest Y Go mode northwest EM Go mode northwest
z Zap Z Spellcast SUB Shell escape
1 Numeric prefix / (Move southwest) ! Shell escape
2 Numeric prefix / (Move south) @ Toggle Autopickup NUL
3 Numeric prefix / (Move southeast) # Extended command
4 Numeric prefix / (Move west) $ Purse
5 Numeric prefix / (Go mode) %
6 Numeric prefix / (Move east) ^ Trap ID RS
7 Numeric prefix / (Move northwest) & Identify command
8 Numeric prefix / (Move north) * List currently equipped items
9 Numeric prefix / (Move east) ( List currently used tools
0 Numeric prefix / (Inventory) ) List currently wielded weapons
' " List currently worn amulet
- _ Travel US
[ List currently worn armor { ESC
, Pick up < Go up
. Rest > Go down
/ What is ? Help List all extended commands DEL
; Far look : Near look
\ List discoveries | FS
= List currently worn rings + List & reorder spells

See also menu controls.

This page may need to be updated for the current version of NetHack.

It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.

Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.