This mod aims to support vi keys style of play for Dwarf Fortress Adventure Mode, be it due to a lack of numpad when playing with a notebook/laptop or simply preference to use vi keys while playing roguelikes. Technically the new movement keys clash with a few shortcuts when playing Fortress mode, though the game prioritize the default shortcuts, so there are no problems there. The only problem I found is when choosing a place to build a Fortress, that the keys to choose the specific place, in the local map, do not work.
So, keep in mind of that, it is aimed at Adventure Mode. If you wish to play Fortress Mode I recommend you to backup your original file as for example, interface(vanilla).txt and replace between it and the modified file when necessary.
How to install: Replace the downloaded file 'interface.txt' with the file of same name that is located in the 'Game Folder/data/init'
Details of every line changed in interface.txt
340 Move North.....................[SYM:0:8] -> [KEY:k]
344 Move South.....................[SYM:0:2] -> [KEY:j]
348 Move East.......................[SYM:0:6] -> [KEY:l]
352 Move West......................[SYM:0:4] -> [KEY:h]
356 Move North West..............[SYM:0:7] -> [KEY:y]
359 Move North East...............[SYM:0:9] -> [KEY:u]
363 Move South West.............[SYM:0:1] -> [KEY:b]
366 Move South East..............[SYM:0:3] -> [KEY:n]
373 Care Move North...............[SYM:4:8] -> [SYM:4:k]
377 Care Move South..............[SYM:4:2] -> [SYM:4:j]
381 Care Move East................[SYM:4:6] -> [SYM:4:l]
385 Care Move West...............[SYM:4:4] -> [SYM:4:h]
389 Care Move North West.......[SYM:4:7] -> [SYM:4:y]
392 Care Move North East........[SYM:4:9] -> [SYM:4:y]
396 Care Move South West......[SYM:4:1] -> [SYM:4:b]
399 Care Move South East.......[SYM:4:3] -> [SYM:4:n]
506 Look...............................[KEY:l] -> [KEY:x]
510 Describe Odor...................[KEY:o] -> [SYM:2:o]
514 Yield...............................[KEY:y] -> [SYM:2:y]
518 Freshest Track.................[SYM:4:k] -> [SYM:2:k]
522 Jump..............................[KEY:j] -> [SYM:2:j]
524 Hold / Climb /Escalate........[KEY:h] -> [KEY:E]
526 Talk................................[KEY:k] -> [KEY:o]
528 Action.............................[KEY:x] -> [KEY:v]
572 Center View.....................[KEY:v] -> [KEY:V]
574 Building Interact................[KEY:u] -> [KEY:B]
38 Zoom In.............................ADDED -> [SYM:0:Rightbracket]
41 Zoom Out..........................ADDED -> [SYM:0:Leftbracket]
144 Sec Scroll Down................[KEY:+] -> [KEY:=]
146 Sec Scroll Pg UP................[KEY:/] -> [KEY:_]
148 Sec Scroll Pg DOWN...........[KEY:*] -> [KEY:+]
118 Std Scroll UP....................[SYM:0:8] -> [KEY:k]
122 Std Scroll DOWN...............[SYM:0:2] -> [KEY:j]
126 Std Scroll LEFT.................[SYM:0:4] -> [KEY:h]
130 Std Scroll RIGHT...............[SYM:0:6] -> [KEY:l]
150 Cursor UP........................[SYM:0:8] -> [KEY:k]
154 Cursor DOWN...................[SYM:0:2] -> [KEY:j]
158 Cursor LEFT.....................[SYM:0:4] -> [KEY:h]
162 Cursor RIGHT...................[SYM:0:6] -> [KEY:l]
166 Cursor UP LEFT................[SYM:0:7] -> [KEY:y]
169 Cursor UP RIGHT..............[SYM:0:9] -> [KEY:u]
173 Cursor DOWN LEFT.......... [SYM:0:1] -> [KEY:b]
176 Cursor DOWN RIGHT..........[SYM:0:3] -> [KEY:n]
180 Cursor UP Fast.................[SYM:1:8] -> [SYM:1:k]
184 Cursor DOWN Fast............[SYM:1:2] -> [SYM:1:j]
188 Cursor LEFT Fast..............[SYM:1:4] -> [SYM:1:h]
192 Cursor LEFT Fast..............[SYM:1:6] -> [SYM:1:l]
196 Cursor UP LEFT Fast..........[SYM:1:7] -> [SYM:1:y]
199 Cursor UP RIGHT Fast........[SYM:1:9] -> [SYM:1:u]
203 Cursor DOWN LEFT Fast.....[SYM:1:1] -> [SYM:1:b]
206 Cursor DOWN RIGHT Fast....[SYM:1:3] -> [SYM:1:n]
Version 0.2 Changelog
- Added support for moving the menu with the hjkl keys
- Changed a few keys while moving the menus, like from (+) to (=) so it is no longer needed to press shift. Now when pressing shift it moves from page.
- It is now possible to move the display with the vi keys also, including fast moving (shift + movement key)
Version 0.1 Changelog
Most keys changed have been made is a way to be less alien as possible while also being easy to type with the two hands on the default position of the keyboard. The exception is the Yield key, that you shouldn't be using in the first place, as you are a mighty Dwarf, not a filthy elf!
Keys Changed:- Replaced keyboard normal numbers (not keypad) 12346789 to yuhjklnm in regular vi key style;
- Replaced movement keys also work with the careful movement, the same way as default, with [alt + movement key] e.g. [alt + k]
- Look changed from (l) to (x);
- Describe Odor changed from (o) to (ctrl + o);
- Yield changed from (y) to (ctrl + y);
- Freshest Track changed from (Alt + k) to (ctrl + k);
- Jumpchanged from (j) to (ctrl + j);
- Hold / Escalate changed from (h) to (E);
- Talk changed from (k) to (o);
- Action changed from (x) to (v);
- Center View changed from (v) to (V);
- Building Interact changed from (u) to (B);
Known Bugs- The action 'attack on same square' haven't been replaced yet. In default it is the key [5], but I haven't found a good replacement yet. Should be fixes soon.
- When 'jumping' or 'looking' you have to move the cursor. Those haven't yet changed to the hjkl keys, but you can still use the arrow keys. Will be fixed soon.
- The actions Move and up [Shift + movement key] and Move and down [Ctrl + movement key] have not been modified to hjkl. It is a design choice that can be modified upon request, but would implicate in a few other keys having to be modified.