Tuesday, 27 April 2010

Emacs Kill Commands

Emacs kill commands. Italic text in parenthesis is the elisp command.
  • C-w : Kill region (kill-region).
  • M-w : Save region as last killed text without actually killing it (kill-ring-save). Some programs call this “copying.”
  • M-d : Kill word (kill-word). 
  • M-<BS>:kill word backwards (backward-kill-word). 
  • C-x <BS> : Kill back to beginning of sentence (backward-kill-sentence).
  • M-k : Kill to end of sentence (kill-sentence).  
  • M-k : Kill to end of sentence (kill-sentence).    
  • C-M-k : Kill the following balanced expression (kill-sexp).  
  • M-z char : Kill through the next occurrence of char (zap-to-char).
  • M-\ : Kill whitespace forward.

No comments: