summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorEino Keskitalo <evktalo@users.sourceforge.net>2010-01-15 17:36:15 +0200
committerEino Keskitalo <evktalo@users.sourceforge.net>2010-01-15 17:38:00 +0200
commit27a4db5c21d92e71ea158d8f0f9f8c9eec9c2770 (patch)
tree15129c16bd846d2be3d1e0d8719948b6a0b65882 /crawl-ref
parent9382906ac78b1088b3344a9901161d97b7e3b935 (diff)
downloadcrawl-ref-27a4db5c21d92e71ea158d8f0f9f8c9eec9c2770.tar.gz
crawl-ref-27a4db5c21d92e71ea158d8f0f9f8c9eec9c2770.zip
Dvorak keybindings for use with vi keys.
Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/settings/dvorak_command_keys.txt111
-rw-r--r--crawl-ref/settings/init.txt7
2 files changed, 115 insertions, 3 deletions
diff --git a/crawl-ref/settings/dvorak_command_keys.txt b/crawl-ref/settings/dvorak_command_keys.txt
new file mode 100644
index 0000000000..2097484c47
--- /dev/null
+++ b/crawl-ref/settings/dvorak_command_keys.txt
@@ -0,0 +1,111 @@
+# keymap with working vi keys for dvorak keyboards
+
+bindkey = [d] CMD_MOVE_LEFT
+bindkey = [h] CMD_MOVE_DOWN
+bindkey = [t] CMD_MOVE_UP
+bindkey = [n] CMD_MOVE_RIGHT
+bindkey = [f] CMD_MOVE_UP_LEFT
+bindkey = [g] CMD_MOVE_UP_RIGHT
+bindkey = [x] CMD_MOVE_DOWN_LEFT
+bindkey = [b] CMD_MOVE_DOWN_RIGHT
+
+bindkey = [D] CMD_RUN_LEFT
+bindkey = [H] CMD_RUN_DOWN
+bindkey = [T] CMD_RUN_UP
+bindkey = [N] CMD_RUN_RIGHT
+bindkey = [F] CMD_RUN_UP_LEFT
+bindkey = [G] CMD_RUN_UP_RIGHT
+bindkey = [X] CMD_RUN_DOWN_LEFT
+bindkey = [B] CMD_RUN_DOWN_RIGHT
+
+bindkey = [d] CMD_TARGET_LEFT
+bindkey = [h] CMD_TARGET_DOWN
+bindkey = [t] CMD_TARGET_UP
+bindkey = [n] CMD_TARGET_RIGHT
+bindkey = [f] CMD_TARGET_UP_LEFT
+bindkey = [g] CMD_TARGET_UP_RIGHT
+bindkey = [x] CMD_TARGET_DOWN_LEFT
+bindkey = [b] CMD_TARGET_DOWN_RIGHT
+
+bindkey = [D] CMD_TARGET_DIR_LEFT
+bindkey = [H] CMD_TARGET_DIR_DOWN
+bindkey = [T] CMD_TARGET_DIR_UP
+bindkey = [N] CMD_TARGET_DIR_RIGHT
+bindkey = [F] CMD_TARGET_DIR_UP_LEFT
+bindkey = [G] CMD_TARGET_DIR_UP_RIGHT
+bindkey = [X] CMD_TARGET_DIR_DOWN_LEFT
+bindkey = [B] CMD_TARGET_DIR_DOWN_RIGHT
+
+bindkey = [d] CMD_MAP_MOVE_LEFT
+bindkey = [h] CMD_MAP_MOVE_DOWN
+bindkey = [t] CMD_MAP_MOVE_UP
+bindkey = [n] CMD_MAP_MOVE_RIGHT
+bindkey = [f] CMD_MAP_MOVE_UP_LEFT
+bindkey = [g] CMD_MAP_MOVE_UP_RIGHT
+bindkey = [x] CMD_MAP_MOVE_DOWN_LEFT
+bindkey = [b] CMD_MAP_MOVE_DOWN_RIGHT
+
+bindkey = [D] CMD_MAP_JUMP_LEFT
+bindkey = [H] CMD_MAP_JUMP_DOWN
+bindkey = [T] CMD_MAP_JUMP_UP
+bindkey = [N] CMD_MAP_JUMP_RIGHT
+bindkey = [F] CMD_MAP_JUMP_UP_LEFT
+bindkey = [G] CMD_MAP_JUMP_UP_RIGHT
+bindkey = [X] CMD_MAP_JUMP_DOWN_LEFT
+bindkey = [B] CMD_MAP_JUMP_DOWN_RIGHT
+
+bindkey = [^D] CMD_OPEN_DOOR_LEFT
+bindkey = [^H] CMD_OPEN_DOOR_DOWN
+bindkey = [^T] CMD_OPEN_DOOR_UP
+bindkey = [^N] CMD_OPEN_DOOR_RIGHT
+bindkey = [^F] CMD_OPEN_DOOR_UP_LEFT
+bindkey = [^G] CMD_OPEN_DOOR_UP_RIGHT
+bindkey = [^X] CMD_OPEN_DOOR_DOWN_LEFT
+bindkey = [^B] CMD_OPEN_DOOR_DOWN_RIGHT
+
+# drop -> (j)unk
+bindkey = [j] CMD_DROP
+# tell -> (y)ell
+bindkey = [y] CMD_SHOUT
+# fire -> (k)ill from afar
+bindkey = [k] CMD_FIRE
+# e(x)amine -> (l)ook
+bindkey = [l] CMD_LOOK_AROUND
+# Take off armour -> 'U'nequip
+bindkey = [U] CMD_REMOVE_ARMOUR
+# Fire without quiver -> (K)ill from afar without quiver
+bindkey = [K] CMD_THROW_ITEM_NO_QUIVER
+# Goto level -> J for no reason
+bindkey = [J] CMD_INTERLEVEL_TRAVEL
+# e(X)amine map -> (L)ook at map
+bindkey = [L] CMD_DISPLAY_MAP
+
+# ^D, add macro -> ^M for macro
+bindkey = [^M] CMD_MACRO_ADD
+# ^T, toggle friendly pickup -> ^Y to keep with (y)ell
+bindkey = [^Y] CMD_TOGGLE_FRIENDLY_PICKUP
+# ^F, search stashes -> ^K for no reason
+bindkey = [^K] CMD_SEARCH_STASHES
+# ^G, interlevel travel -> ^J for no reason
+bindkey = [^J] CMD_INTERLEVEL_TRAVEL
+# ^X, list items and feature -> (^L)ist items and features
+bindkey = [^L] CMD_FULL_VIEW
+
+# map (F)ind -> K for no reason
+bindkey = [K] CMD_MAP_FIND_F
+# map (G)oto level -> J for no reason
+bindkey = [J] CMD_MAP_GOTO_LEVEL
+
+# target maybe prev target -> k
+bindkey = [k] CMD_TARGET_MAYBE_PREV_TARGET
+
+# target wizard (D)ebug monster -> J rather than K because small k is used for
+# firing
+bindkey = [J] CMD_TARGET_WIZARD_DEBUG_MONSTER
+# target wizard make (F)riendly -> make the monster (L)oyal
+bindkey = [L] CMD_TARGET_WIZARD_MAKE_FRIENDLY
+# target wizard (G)ain level -> make the monster go (U)p a level
+bindkey = [U] CMD_TARGET_WIZARD_GAIN_LEVEL
+
+# FIXME: Consider mapping vi keiys for the doll editor. It doesn't use
+# diagonals, so it might not be worth the effort.
diff --git a/crawl-ref/settings/init.txt b/crawl-ref/settings/init.txt
index 795c463a43..aa3fca3f98 100644
--- a/crawl-ref/settings/init.txt
+++ b/crawl-ref/settings/init.txt
@@ -233,7 +233,6 @@ stash_filter = ring of hunger, amulet of inaccuracy
# sort_menus = pickup: true : art, ego, basename, qualname, curse, qty
sort_menus = inv: true : equipped, freshness, charged
-
##### 4-j Messages and Display Enhancements #####
#
# hp_warning = 10
@@ -346,7 +345,6 @@ autoinscribe = distortion:!w
# All tiles specific options are in the external file
include = tiles_options.txt
-
##### 5- Dump File #################################################
#
##### 5-a Items and Kill List ###################
@@ -404,8 +402,11 @@ note_monsters = orb of fire, ancient lich, Sigmund
# dos_use_background_intensity = true
# background = black
-
##### 6-c Unix ##################################
#
# use_fake_cursor = false
# use_fake_player_cursor = true
+
+##### 6-d Alternative keybinding files ##########
+#
+# include = dvorak_command_keys.txt