<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Binding_keys</id>
	<title>Binding keys - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Binding_keys"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Binding_keys&amp;action=history"/>
	<updated>2026-06-04T06:24:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Binding_keys&amp;diff=109543&amp;oldid=prev</id>
		<title>Dizzylizzy: Remove needless table of contents</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Binding_keys&amp;diff=109543&amp;oldid=prev"/>
		<updated>2018-05-01T15:54:04Z</updated>

		<summary type="html">&lt;p&gt;Remove needless table of contents&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:54, 1 May 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{tocright}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In your [[Options|options file]], it is possible to change the default key bindings of some special commands, menu accelerator keys, and extended commands. Keybinding lines begin with &amp;lt;tt&amp;gt;BIND=&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;BINDINGS=&amp;lt;/tt&amp;gt;, followed by a comma-separated list of the format &amp;lt;tt&amp;gt;key:command&amp;lt;/tt&amp;gt;. There can be many &amp;lt;tt&amp;gt;BIND&amp;lt;/tt&amp;gt; entries.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In your [[Options|options file]], it is possible to change the default key bindings of some special commands, menu accelerator keys, and extended commands. Keybinding lines begin with &amp;lt;tt&amp;gt;BIND=&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;BINDINGS=&amp;lt;/tt&amp;gt;, followed by a comma-separated list of the format &amp;lt;tt&amp;gt;key:command&amp;lt;/tt&amp;gt;. There can be many &amp;lt;tt&amp;gt;BIND&amp;lt;/tt&amp;gt; entries.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dizzylizzy</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Binding_keys&amp;diff=109542&amp;oldid=prev</id>
		<title>Dizzylizzy: Initial article</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Binding_keys&amp;diff=109542&amp;oldid=prev"/>
		<updated>2018-05-01T15:53:31Z</updated>

		<summary type="html">&lt;p&gt;Initial article&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{tocright}}&lt;br /&gt;
&lt;br /&gt;
In your [[Options|options file]], it is possible to change the default key bindings of some special commands, menu accelerator keys, and extended commands. Keybinding lines begin with &amp;lt;tt&amp;gt;BIND=&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;BINDINGS=&amp;lt;/tt&amp;gt;, followed by a comma-separated list of the format &amp;lt;tt&amp;gt;key:command&amp;lt;/tt&amp;gt;. There can be many &amp;lt;tt&amp;gt;BIND&amp;lt;/tt&amp;gt; entries.&lt;br /&gt;
&lt;br /&gt;
The key for binding can be a single character (&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt;), a control key (&amp;lt;tt&amp;gt;^x&amp;lt;/tt&amp;gt;), a meta key (&amp;lt;tt&amp;gt;M-x&amp;lt;/tt&amp;gt;), or a three-digit decimal ASCII code.&lt;br /&gt;
&lt;br /&gt;
Examples from the Guidebook:&lt;br /&gt;
 BIND=^X:getpos.autodescribe&lt;br /&gt;
 BIND={:menu_first_page&lt;br /&gt;
 BIND=v:loot&lt;br /&gt;
&lt;br /&gt;
You can bind multiple keys to the same extended command (loot, annotate, etc). To unbind a key, bind the key to &amp;lt;tt&amp;gt;nothing&amp;lt;/tt&amp;gt;. You can also bind the &amp;lt;tt&amp;gt;&amp;amp;lt;esc&amp;amp;gt;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;amp;lt;enter&amp;amp;gt;&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;&amp;amp;lt;space&amp;amp;gt;&amp;lt;/tt&amp;gt; keys.&lt;br /&gt;
&lt;br /&gt;
==Extended commands==&lt;br /&gt;
&lt;br /&gt;
{{main|Extended command}}&lt;br /&gt;
&lt;br /&gt;
Extended commands can be bound to keys. See the extended command article for a complete list.&lt;br /&gt;
&lt;br /&gt;
==Special command keys==&lt;br /&gt;
&lt;br /&gt;
Below are the special commands you can rebind, as found in the [[Guidebook]]. Some of them can be bound to the same keys as others with no problems, while others are in the same &amp;quot;context&amp;quot; and only one entry would behave as intended. Unlike extended commands, special commands can only be bound to a single key.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;prettytable striped&amp;quot;&lt;br /&gt;
!Special command&lt;br /&gt;
!Default&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;count&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;n&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to start a count, to repeat a command this many times.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;doinv&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Show inventory. With number_pad only.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;fight&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;F&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to force fight a direction.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;fight.numpad&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;-&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to force fight a direction. With number_pad only.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getdir.help&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;?&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a direction, the key to show the help.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getdir.self&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a direction, the key to target yourself.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getdir.self2&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;s&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a direction, the key to target yourself.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.autodescribe&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to toggle autodescribe.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.all.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;a&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the next closest interesting thing.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.all.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;A&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the previous closest interesting thing.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.door.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;d&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the next closest door.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.door.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;D&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the previous closest door.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.help&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;?&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to show help.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.mon.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the next closest monster.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.mon.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;M&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the previous closest monster.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.obj.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;o&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the next closest object.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.obj.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;O&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the previous closest object.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.menu&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;!&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, and using one of the next or previous keys to cycle through targets, toggle showing a menu instead.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.moveskip&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;*&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, and using the shifted movement keys or meta-digit keys to fast-move around, move by skipping the same glyphs instead of by 8 units.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.filter&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, change the filtering mode when using one of the next or previous keys to cycle through targets. Toggles between no filtering, in view only, and in the same area only.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.pick&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to choose the location, and possibly ask for more info.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.pick.once&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;,&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to choose the location, and skip asking for more info.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.pick.quick&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;;&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to choose the location, skip asking for more info, and exit the location asking loop.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.pick.verbose&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;:&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to choose the location, and show more info without asking.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.self&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;@&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to your location.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.unexplored.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the next closest unexplored location.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.unexplored.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;X&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to the previous closest unexplored location.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.valid&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;$&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to show valid target locations.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.valid.next&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to next closest valid location.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;getpos.valid.prev&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;Z&amp;lt;/tt&amp;gt;&lt;br /&gt;
|When asked for a location, the key to go to previous closest valid location.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;nopickup&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to move without picking up items.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;redraw&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;^R&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Key to redraw the screen.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;redraw.numpad&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;^L&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Key to redraw the screen. With number_pad only.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;repeat&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;^A&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Key to repeat previous command.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;reqmenu&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;m&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to request menu from some commands.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;run&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;G&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to run toward a direction&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;run.nopickup&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;M&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to run toward a direction without picking up items on the way.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;run.numpad&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;5&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to run toward a direction. With number_pad only.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;rush&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;g&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Prefix key to rush toward a direction.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{nethack-361}}&lt;/div&gt;</summary>
		<author><name>Dizzylizzy</name></author>
		
	</entry>
</feed>