Improved describe-bindings display
[conkeror.git] / modules / bindings / default / content-buffer / normal.js
blobea190ee32708f0bdef4733ff716c1745d78abacc
1 require("bindings/default/global.js");
2 require("bindings/default/basic-commands.js");
4 define_keymap("content_buffer_normal_keymap", $parent = default_global_keymap);
6 bind_scroll_keys(content_buffer_normal_keymap);
7 bind_selection_keys(content_buffer_normal_keymap);
9 // URL
10 define_key(content_buffer_normal_keymap, "u", "go-up");
11 define_key(content_buffer_normal_keymap, "F", "go-forward");
12 define_key(content_buffer_normal_keymap, "B", "go-back");
13 define_key(content_buffer_normal_keymap, "l", "go-back");
14 define_key(content_buffer_normal_keymap, "r", "reload");
15 define_key(content_buffer_normal_keymap, "g", "open-url");
16 define_key(content_buffer_normal_keymap, "C-x C-v", "find-alternate-url");
19 define_key(content_buffer_normal_keymap, "C-g", "stop-loading");
22 define_key(content_buffer_normal_keymap, "C-return", "follow-link-in-new-buffer");
24 define_key(content_buffer_normal_keymap, "escape", "unfocus");
26 define_key(content_buffer_normal_keymap, "C-q", "quote-next-input-mode");
27 define_key(content_buffer_normal_keymap, "C-M-q", "quote-input-mode");
29 define_key(content_buffer_normal_keymap, "close_bracket close_bracket", "browser-follow-next");
30 define_key(content_buffer_normal_keymap, "open_bracket open_bracket", "browser-follow-previous");
32 define_key(content_buffer_normal_keymap, "return", null, $fallthrough);
34 define_key(content_buffer_normal_keymap, "tab", "browser-focus-next-form-field");
36 define_key(content_buffer_normal_keymap, "S-tab", "browser-focus-previous-form-field");