emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isearch and M-y/C-y


From: Juri Linkov
Subject: Re: isearch and M-y/C-y
Date: Thu, 20 Nov 2008 01:18:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>    The current search C-y feature needs to be easy to type in order to
>    be any use.  I think C-M-y would be too inconvenient, so it would
>    almost have the effect of eliminating this feature.
>
> We use C-M-w already, and other C-M- combinations, so I cannot see how
> that would be any more inconvient.  Perhaps someone has a better idea
> for a keybinding?

I have the following idea: bind `isearch-yank-line' to `M-s C-e' because
`move-end-of-line' is on `C-e'.  It is also possible to allow a sequence
of `M-s C-e C-e C-e ...' without the need to repeat `M-s' before each `C-e'.
This can be extended to other motion commands, e.g. `M-s C-f C-f C-f ...'
to call a sequence of `isearch-yank-char', `M-s M-f M-f M-f ...'  to
call a sequence of `isearch-yank-word', and any combinations of them
`M-s C-f M-f C-f ...', etc.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]