reinit: clear startup-cache before calling load_rc
[conkeror.git] / modules / bindings / default / content-buffer / normal.js
blob7ea29f8c8895abd3ec35f53bfcf15850a09c4693
1 /**
2  * (C) Copyright 2004-2007 Shawn Betts
3  * (C) Copyright 2007-2010 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 define_key(content_buffer_normal_keymap, "C-z", content_buffer_normal_keymap);
12 bind_scroll_keys(content_buffer_normal_keymap);
13 bind_selection_keys(content_buffer_normal_keymap);
15 // URL
16 define_key(content_buffer_normal_keymap, "u", "up");
17 define_key(content_buffer_normal_keymap, "F", "forward");
18 define_key(content_buffer_normal_keymap, "B", "back");
19 define_key(content_buffer_normal_keymap, "l", "back");
20 define_key(content_buffer_normal_keymap, "r", "reload");
21 define_key(content_buffer_normal_keymap, "g", "find-url");
22 define_key(content_buffer_normal_keymap, "G", "find-alternate-url");
23 define_key(content_buffer_normal_keymap, "C-y", "paste-url");
24 define_key(content_buffer_normal_keymap, "C-x C-v", "find-alternate-url");
25 define_key(content_buffer_normal_keymap, "C-x C-s", "save-page");
26 define_key(content_buffer_normal_keymap, "C-x h", "cmd_selectAll");
28 define_key(content_buffer_normal_keymap, "C-g", "stop-loading");
30 define_key(content_buffer_normal_keymap, "escape", "unfocus");
31 define_key(content_buffer_normal_keymap, "M-escape", "unfocus");
33 define_key(content_buffer_normal_keymap, "tab", "browser-focus-next-form-field");
34 define_key(content_buffer_normal_keymap, "S-tab", "browser-focus-previous-form-field");
36 // isearch (non-interactive)
37 define_key(content_buffer_normal_keymap, "S", "isearch-continue-forward");
38 define_key(content_buffer_normal_keymap, "R", "isearch-continue-backward");
40 define_key(content_buffer_normal_keymap, "C-x return c", "charset-prefix");
41 define_key(content_buffer_normal_keymap, "C-x return r", "reload-with-charset");
43 // multimedia keys
44 define_key(content_buffer_normal_keymap, "cmdback", "back");
45 define_key(content_buffer_normal_keymap, "cmdforward", "forward");
46 define_key(content_buffer_normal_keymap, "cmdreload", "reload");
47 define_key(content_buffer_normal_keymap, "cmdstop", "stop-loading");
48 define_key(content_buffer_normal_keymap, "cancel", "stop-loading");
49 define_key(content_buffer_normal_keymap, "cmdhome", "home");