[slime-devel] Binding C-a / HOME
Helmut Eller
heller at common-lisp.net
Mon Aug 30 16:13:37 UTC 2010
* Helmut Eller [2010-08-30 15:38] writes:
> I think that changed in Emacs 21 or 22, previously HOME was for
> beginning-of-buffer and and now it's beginning-of-line. See
> bindings.el:
>
> ;; natural bindings for terminal keycaps --- defined in X keysym order
> (define-key global-map [C-S-backspace] 'kill-whole-line)
> (define-key global-map [home] 'move-beginning-of-line)
> (define-key global-map [C-home] 'beginning-of-buffer)
> (define-key global-map [M-home] 'beginning-of-buffer-other-window)
> (define-key esc-map [home] 'beginning-of-buffer-other-window)
And further down there are bindings for the [begin] key (5 on the numpad):
(define-key global-map [end] 'move-end-of-line)
(define-key global-map [C-end] 'end-of-buffer)
(define-key global-map [M-end] 'end-of-buffer-other-window)
(define-key esc-map [end] 'end-of-buffer-other-window)
(define-key global-map [begin] 'beginning-of-buffer)
(define-key global-map [M-begin] 'beginning-of-buffer-other-window)
(define-key esc-map [begin] 'beginning-of-buffer-other-window)
Helmut
More information about the slime-devel
mailing list