help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remap DEL and Shift-Up to kill to end of line


From: plus852
Subject: Re: Remap DEL and Shift-Up to kill to end of line
Date: Mon, 28 Apr 2008 18:02:26 -0700 (PDT)
User-agent: G2/1.0

On Apr 28, 8:21 pm, plus...@gmail.com wrote:
> I'm not sure how to remap keys, but I'd like to remap DEL (not
> backspace/delete) and Shift-Up to kill to end of line (in addition to
> C-k); I'd also like DEL-DEL and Shift-Up Shift-Up (DEL or Shift-Up
> typed twice without any other input) to kill to end of paragraph. Is
> this possible?

I've tried adding to my .emacs file:

(global-set-key (kbd "<delete>") 'kill-line)

and

(global-set-key "\d" 'kill-line)

but neither works.

Also, I'd like Shift-Right to move 10 characters right and Shift-Left
to move 10 characters left. Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]