diff options
author | sabetts <sabetts> | 2006-05-15 23:46:27 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-05-15 23:46:27 +0000 |
commit | 4ca9e47fca39687becd9df55a540568b848bfcaa (patch) | |
tree | 4a3f9eebcc6ea125e2630e3b454e079779731021 /doc | |
parent | 687ecf6f110a5edf7f8d1b0a9886a4cada3a6e9d (diff) | |
download | ratpoison-4ca9e47fca39687becd9df55a540568b848bfcaa.zip |
* src/manage.c (grab_top_level_keys): use defaults.top_kmap for the top kmap
* src/main.c (init_defaults): init defaults.top_kmap
* src/events.c (handle_key): use defaults.top_kmap for the top kmap
* src/data.h (struct rp_defaults): new field, top_kmap
* src/actions.c (set_topkmap): new prototype
(init_set_vars): topkmap new set variable
(initialize_default_keybindings): use defaults.top_kmap for the top kmap
(cmd_undefinekey): likewise
(cmd_definekey): likewise
(cmd_escape): likewise
(cmd_delkmap): likewise
(set_topkmap): new function
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ratpoison.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index 619fc6f..5c14837 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -1024,6 +1024,11 @@ key. When the user does, the command will display the command bound to this key. @end deffn +@deffn Command {set topkmap} @var{kmap} +Set the top level keymap to @var{kmap}. You might use this to swap +between several common keymappings or to implement modes. +@end deffn + @node Default Key Bindings, , Key Maps, Keystrokes @section Default Key Bindings |