From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: plus852@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Remap DEL and Shift-Up to kill to end of line Date: Mon, 28 Apr 2008 18:02:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209443090 10507 80.91.229.12 (29 Apr 2008 04:24:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2008 04:24:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 06:25:26 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JqhPB-0004yu-Cv for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2008 06:25:25 +0200 Original-Received: from localhost ([127.0.0.1]:36464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqhOU-0005Ci-K4 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Apr 2008 00:24:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m73g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 71.174.198.167 Original-X-Trace: posting.google.com 1209430946 26074 127.0.0.1 (29 Apr 2008 01:02:26 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 29 Apr 2008 01:02:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000hsh.googlegroups.com; posting-host=71.174.198.167; posting-account=oHyktwoAAAAiFuUxRw_D2ftckXsRFKpe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:158246 X-Mailman-Approved-At: Tue, 29 Apr 2008 00:24:25 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53611 Archived-At: On Apr 28, 8:21=A0pm, 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 "") '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.