Mercurial > emacs
comparison src/window.c @ 107853:de5ba6f3514c
Bind `C-v' to `scroll-up-command' and `M-v' to `scroll-down-command'.
http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00403.html
* window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
`scroll-up-command' and `M-v' from `scroll-down' to
`scroll-down-command'.
* tutorial.el (tutorial--default-keys): Rebind `C-v' to
`scroll-up-command' and `M-v' to `scroll-down-command'.
* emulation/cua-rect.el (cua--init-rectangles):
* forms.el (forms--change-commands):
* image-mode.el (image-mode-map):
Remap scroll-down-command and scroll-up-command
in addition to scroll-down and scroll-up.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Wed, 14 Apr 2010 03:33:32 +0300 |
parents | 4abde609aac9 |
children | d7b161b7a686 |
comparison
equal
deleted
inserted
replaced
107852:4abde609aac9 | 107853:de5ba6f3514c |
---|---|
7389 initial_define_key (control_x_map, 'o', "other-window"); | 7389 initial_define_key (control_x_map, 'o', "other-window"); |
7390 initial_define_key (control_x_map, '^', "enlarge-window"); | 7390 initial_define_key (control_x_map, '^', "enlarge-window"); |
7391 initial_define_key (control_x_map, '<', "scroll-left"); | 7391 initial_define_key (control_x_map, '<', "scroll-left"); |
7392 initial_define_key (control_x_map, '>', "scroll-right"); | 7392 initial_define_key (control_x_map, '>', "scroll-right"); |
7393 | 7393 |
7394 initial_define_key (global_map, Ctl ('V'), "scroll-up"); | 7394 initial_define_key (global_map, Ctl ('V'), "scroll-up-command"); |
7395 initial_define_key (meta_map, Ctl ('V'), "scroll-other-window"); | 7395 initial_define_key (meta_map, Ctl ('V'), "scroll-other-window"); |
7396 initial_define_key (meta_map, 'v', "scroll-down"); | 7396 initial_define_key (meta_map, 'v', "scroll-down-command"); |
7397 } | 7397 } |
7398 | 7398 |
7399 /* arch-tag: 90a9c576-0590-48f1-a5f1-6c96a0452d9f | 7399 /* arch-tag: 90a9c576-0590-48f1-a5f1-6c96a0452d9f |
7400 (do not change this comment) */ | 7400 (do not change this comment) */ |