diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-16 02:20:49 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-16 02:20:49 +0100 |
commit | 11cb8e40307220e66f073eedcd779f75956d725f (patch) | |
tree | e7c4f738746b8ebb6592c9a6aa9aae76014c13bc /crawl-ref | |
parent | 2fb97f846083670aee629d01efbddc073f24d2a1 (diff) | |
download | crawl-ref-11cb8e40307220e66f073eedcd779f75956d725f.tar.gz crawl-ref-11cb8e40307220e66f073eedcd779f75956d725f.zip |
Document how to override (vi) keys with CMD_NO_CMD_DEFAULT.
no_vi_command_keys.txt doesn't handle targeting or movement on
the level map. Should it?
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/docs/keybind.txt | 2 | ||||
-rw-r--r-- | crawl-ref/settings/init.txt | 4 | ||||
-rw-r--r-- | crawl-ref/settings/no_vi_command_keys.txt | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/docs/keybind.txt b/crawl-ref/docs/keybind.txt index 11fbdeff74..0455822e4d 100644 --- a/crawl-ref/docs/keybind.txt +++ b/crawl-ref/docs/keybind.txt @@ -2,6 +2,8 @@ Here's a list of all commands, in the form they are parsed by the bindkey option, with their default key and a short explanation (where necessary). +CMD_NO_CMD_DEFAULT can be used to bind any key to the "Unknown command." + Movement -------- Moving one grid into a given direction: diff --git a/crawl-ref/settings/init.txt b/crawl-ref/settings/init.txt index aa3fca3f98..84473acd6e 100644 --- a/crawl-ref/settings/init.txt +++ b/crawl-ref/settings/init.txt @@ -409,4 +409,8 @@ note_monsters = orb of fire, ancient lich, Sigmund ##### 6-d Alternative keybinding files ########## # +# Alternative vi bindings for Dvorak users. # include = dvorak_command_keys.txt +# +# Override the vi movement keys with a non-command. +# include = no_vi_command_keys.txt diff --git a/crawl-ref/settings/no_vi_command_keys.txt b/crawl-ref/settings/no_vi_command_keys.txt index 2012b25f69..ffc1925487 100644 --- a/crawl-ref/settings/no_vi_command_keys.txt +++ b/crawl-ref/settings/no_vi_command_keys.txt @@ -1,4 +1,4 @@ -# Keybindings to override the vi keys. +# Keybindings to override the vi movement keys. # CMD_NO_CMD_DEFAULT results in "Unknown command." # See docs/keybind.txt for other commands. |