comment
[conkeror.git] / modules / bindings / default / content-buffer / textarea.js
blobdd508a15e2d25112f9d9c461aac6ae8ccbba51f8
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 define_fallthrough(content_buffer_textarea_keymap, match_text_keys);
12 // textarea keys
13 define_key(content_buffer_textarea_keymap, "C-n", "forward-line");
14 define_key(content_buffer_textarea_keymap, "down", "forward-line");
15 define_key(content_buffer_textarea_keymap, "C-p", "backward-line");
16 define_key(content_buffer_textarea_keymap, "up", "backward-line");
17 define_key(content_buffer_textarea_keymap, "M-<", "beginning-of-first-line");
18 define_key(content_buffer_textarea_keymap, "M->", "end-of-last-line");
19 define_key(content_buffer_textarea_keymap, "C-home", "beginning-of-first-line");
20 define_key(content_buffer_textarea_keymap, "C-end", "end-of-last-line");
21 define_key(content_buffer_textarea_keymap, "M-v", "backward-page");
22 define_key(content_buffer_textarea_keymap, "page_up", "backward-page");
23 define_key(content_buffer_textarea_keymap, "C-o", "open-line");
25 define_key(content_buffer_textarea_keymap, "C-v", "forward-page");
26 define_key(content_buffer_textarea_keymap, "page_down", "forward-page");
28 define_key(content_buffer_textarea_keymap, "S-page_up", "cmd_selectPageUp");
29 define_key(content_buffer_textarea_keymap, "S-page_down", "cmd_selectPageDown");