Arbortext Command Language > Commands > copy_keymap
  
copy_keymap
copy_keymap namenewname
This command creates a new keymap named newname as a copy of the keymap name. The keymap called name was created by define_keymap or copy_keymap commands or is a window class name such as edit, cmd, or helpwin. In the latter case, the new keymap will have all the user-level mappings for the specified class.
The new keymap starts out with the same mappings as name but subsequent map commands to name do not affect newname and vice-versa. If name is a prefix keymap, then newname is created as a prefix keymap.
The keymap newname must not be one of the predefined maps system or user or a window class name such as edit, cmd, or helpwin.
ckm is a synonym for copy_keymap.
Examples
copy_keymap edit edit2_map
ckm window7 save_map
Related Topics
define_keymap command
keymap_exists built-in function
map command
set keymap command
undefine_keymap command