Fix zoom bindings to use characters rather than keycode names
[conkeror.git] / modules / bindings / default / content-buffer / zoom.js
blobf0ab512d92e45ae2cb70de8d25120651c26615ca
1 /**
2  * (C) Copyright 2007-2008 Jeremy Maitin-Shepard
3  *
4  * Use, modification, and distribution are subject to the terms specified in the
5  * COPYING file.
6 **/
8 require("bindings/default/content-buffer/normal.js");
10 define_key(content_buffer_normal_keymap, "+", "zoom-in-text", $category = "Zoom (text)");
11 define_key(content_buffer_normal_keymap, "=", "zoom-reset-text", $category = "Zoom (text)");
12 define_key(content_buffer_normal_keymap, "-", "zoom-out-text", $category = "Zoom (text)");
14 define_key(content_buffer_normal_keymap, "C-+", "zoom-in-full", $category = "Zoom (full)");
15 define_key(content_buffer_normal_keymap, "C-=", "zoom-reset-full", $category = "Zoom (full)");
16 define_key(content_buffer_normal_keymap, "C--", "zoom-out-full", $category = "Zoom (full)");
20 define_key(content_buffer_normal_keymap, "z i", "zoom-in-text", $category = "Zoom (text)");
21 define_key(content_buffer_normal_keymap, "z m", "zoom-in-text-more", $category = "Zoom (text)");
22 define_key(content_buffer_normal_keymap, "z z", "zoom-reset-text", $category = "Zoom (text)");
23 define_key(content_buffer_normal_keymap, "z o", "zoom-out-text", $category = "Zoom (text)");
24 define_key(content_buffer_normal_keymap, "z r", "zoom-out-text-more", $category = "Zoom (text)");
27 define_key(content_buffer_normal_keymap, "z I", "zoom-in-full", $category = "Zoom (full)");
28 define_key(content_buffer_normal_keymap, "z M", "zoom-in-full-more", $category = "Zoom (full)");
29 define_key(content_buffer_normal_keymap, "z Z", "zoom-reset-full", $category = "Zoom (full)");
30 define_key(content_buffer_normal_keymap, "z O", "zoom-out-full", $category = "Zoom (full)");
31 define_key(content_buffer_normal_keymap, "z R", "zoom-out-full-more", $category = "Zoom (full)");