How to delete a region using the [delete] key in emacs

I am using Emacs 23.3 for Mac OS X Lion. How can I delete a selected area of ​​text with a simple key input - something like deleteor C-d? This works on windows without installing anything specific. How can I implement this on Mac OS X Lion?

+5
source share
3 answers

Give it a try M-x cua-mode. This will change many things about how Emacs behaves to match the behavior of other graphics applications. For more information, see M-S-: (info "(emacs) CUA Bindings").

You can constantly enable it with M-x customize-option RET cua-mode.

+6
source

delete-selection-mode, ; -)

+10

" ", Emacs - C-w ( w).

, C-SPC ( SPACE).

, Emacs.

  • C-k ( )
  • M-z ( Esc, z) "zap to char",
  • M-DEL ( Esc, DEL),

.

+5

All Articles