unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* good key binding for delete-region
@ 2012-07-13 20:28 Jai Dayal
  2012-07-14  6:58 ` Thien-Thi Nguyen
  2012-07-18 15:23 ` Kevin Rodgers
  0 siblings, 2 replies; 4+ messages in thread
From: Jai Dayal @ 2012-07-13 20:28 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

having trouble finding a good keybinding for delete-region.

Any suggestions?

Thanks
Jai

[-- Attachment #2: Type: text/html, Size: 109 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: good key binding for delete-region
       [not found] <mailman.4754.1342211327.855.help-gnu-emacs@gnu.org>
@ 2012-07-13 21:27 ` B. T. Raven
  0 siblings, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2012-07-13 21:27 UTC (permalink / raw)
  To: help-gnu-emacs


> having trouble finding a good keybinding for delete-region.
> 
> Any suggestions?
> 
> Thanks
> Jai


The delete key does this by default if a region is selected, whether
delete-selection-mode is on or off.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: good key binding for delete-region
  2012-07-13 20:28 good key binding for delete-region Jai Dayal
@ 2012-07-14  6:58 ` Thien-Thi Nguyen
  2012-07-18 15:23 ` Kevin Rodgers
  1 sibling, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2012-07-14  6:58 UTC (permalink / raw)
  To: Jai Dayal; +Cc: help-gnu-emacs

() Jai Dayal <dayalsoap@gmail.com>
() Fri, 13 Jul 2012 14:28:21 -0600

   having trouble finding a good keybinding for delete-region.

   Any suggestions?

Personallly, i globally bind ‘M-+’ to it.  I think there was some
coy euphoric (RIP HST ;-D) reason for that particular choice at
the time (ca. 1996), but certainly it wasn't the cognac...

For other suggestions, some mundane, some not, see also:
http://www.gnuvola.org/software/personal-elisp/dist/lisp/core/keys.el



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: good key binding for delete-region
  2012-07-13 20:28 good key binding for delete-region Jai Dayal
  2012-07-14  6:58 ` Thien-Thi Nguyen
@ 2012-07-18 15:23 ` Kevin Rodgers
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2012-07-18 15:23 UTC (permalink / raw)
  To: help-gnu-emacs

On 7/13/12 2:28 PM, Jai Dayal wrote:
> having trouble finding a good keybinding for delete-region.
>
> Any suggestions?

Here's what I have:

(global-set-key "\C-cw" 'delete-region)	  ; cf. C-w and M-C-w

-- 
Kevin Rodgers
Denver, Colorado, USA




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-18 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 20:28 good key binding for delete-region Jai Dayal
2012-07-14  6:58 ` Thien-Thi Nguyen
2012-07-18 15:23 ` Kevin Rodgers
     [not found] <mailman.4754.1342211327.855.help-gnu-emacs@gnu.org>
2012-07-13 21:27 ` B. T. Raven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).