From a6424ae7e568144414be683aa7aa2d644c3f2947 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 15 Sep 2024 12:37:30 +0200 Subject: Expand on C-w hype --- reviews/emacs/hype.org | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'reviews/emacs') diff --git a/reviews/emacs/hype.org b/reviews/emacs/hype.org index 33ffa11..a04030e 100644 --- a/reviews/emacs/hype.org +++ b/reviews/emacs/hype.org @@ -9,8 +9,15 @@ keeping track of the changes /I/ am excited about. - =C-c C-c= to apply ** Editing *** DWIM =C-w= (bug#69097) -- cut region when it is active -- otherwise behave like readline's =unix-word-rubout= +=kill-region-dwim= tells =C-w= what to do when the region is inactive: + +- By default, kill the region anyway as long it exists, i.e. the mark + is set; in other words, kill the region revealed by =C-x C-x=. + +- Otherwise kill "a word" backward. + +The option can be set to kill either [[info:emacs#Words][an Emacs word]] (major-mode +dependant) or a [[info:readline#Commands For Killing][readline word]] (whitespace-separated). * 30 ** =:core= promotions *** visual-wrap (was adaptive-wrap): soft & mode-sensitive wrap prefixes -- cgit v1.2.3