new module system
[conkeror.git] / modules / bindings / default / content-buffer / normal.js
blob8df04a26e20db0b7ae77980f3623db9ee16a0082
1 /**
2  * (C) Copyright 2004-2007 Shawn Betts
3  * (C) Copyright 2007-2009 John J. Foerch
4  * (C) Copyright 2007-2008 Jeremy Maitin-Shepard
5  *
6  * Use, modification, and distribution are subject to the terms specified in the
7  * COPYING file.
8 **/
10 bind_scroll_keys(content_buffer_normal_keymap);
11 bind_selection_keys(content_buffer_normal_keymap);
13 // URL
14 define_key(content_buffer_normal_keymap, "u", "up");
15 define_key(content_buffer_normal_keymap, "F", "forward");
16 define_key(content_buffer_normal_keymap, "B", "back");
17 define_key(content_buffer_normal_keymap, "l", "back");
18 define_key(content_buffer_normal_keymap, "r", "reload");
19 define_key(content_buffer_normal_keymap, "g", "find-url");
20 define_key(content_buffer_normal_keymap, "G", "find-alternate-url");
21 define_key(content_buffer_normal_keymap, "C-y", "paste-url");
22 define_key(content_buffer_normal_keymap, "C-x C-v", "find-alternate-url");
23 define_key(content_buffer_normal_keymap, "C-x C-s", "save-page");
24 define_key(content_buffer_normal_keymap, "C-x h", "cmd_selectAll");
26 define_key(content_buffer_normal_keymap, "C-g", "stop-loading");
28 define_key(content_buffer_normal_keymap, "escape", "unfocus");
29 define_key(content_buffer_normal_keymap, "M-escape", "unfocus");
31 define_key(content_buffer_normal_keymap, "tab", "browser-focus-next-form-field");
32 define_key(content_buffer_normal_keymap, "S-tab", "browser-focus-previous-form-field");
34 // isearch (non-interactive)
35 define_key(content_buffer_normal_keymap, "S", "isearch-continue-forward");
36 define_key(content_buffer_normal_keymap, "R", "isearch-continue-backward");
38 define_key(content_buffer_normal_keymap, "C-x return c", "charset-prefix");
39 define_key(content_buffer_normal_keymap, "C-x return r", "reload-with-charset");