Page 1 of 1

Disabling rogue-like movement keys

PostPosted: Tuesday, 29th November 2011, 23:52
by omega
hi

i'm trying to get rid of the rogue-like movement keys in crawl (hjklyubn).
i was asking in ##crawl and the suggestion was to macro it to the space bar (or any key that does nothing i guess), but when i do that it also kills
movement on the corresponding numpad key (turned off, ofc).
so if i assign a macro to 'h' and hit <space bar> when it asks for the key, 'h' stops moving me to the left, as does numpad 4.
this is playing trunk 0.10 downloaded a couple of days ago (but was already the case back since), console, and on a qwertz keyboard.

i'd just really want to get rid of the rogue-like movement keys.

Re: Disabling rogue-like movement keys

PostPosted: Wednesday, 30th November 2011, 04:50
by varsovie
First they are called Vi key, because it comes from Vi (and Ed...) even before rogue exist.

Second there it is a file called no_vi_command_keys in the setting folder : https://gitorious.org/crawl/crawl/blobs/master/crawl-ref/settings/no_vi_command_keys.txt.

Just follow the instructions.

Re: Disabling rogue-like movement keys

PostPosted: Wednesday, 30th November 2011, 18:34
by omega
thanks for the clarification, that made searching the docs for the relevant entries easier.

first i've pasted all the bindkey entries from no_vi_commands_keys.txt to my init.txt.
numpad movement doesn't work anymore.

then i found the entry in the init.txt under 6-d (# Override the vi movement keys with a non-command.) and uncommented the "include = no_vi_command_keys.txt line"
and deleted the entries i've made in the first step.
numpad movement doesn't work anymore.

Re: Disabling rogue-like movement keys

PostPosted: Friday, 2nd December 2011, 07:29
by robulon
I just tried it in trunk and it seems to only disable the letter keys, is numlock on? Alternatively could you disable both vi and numpad then remacro the numpad keys to the movement directions?