all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* killring as registers
@ 2018-09-29 12:07 Thomas Meyer
  2018-09-29 12:20 ` Robert Pluim
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Meyer @ 2018-09-29 12:07 UTC (permalink / raw)
  To: emacs-devel

hi,

i'm relativley new to emacs and half way through the manual, and i
wonder if there is an easy way to access old killring content? i would
like to use the killring as an "clipboard history" but as far as i
understand the topic there seems to be no good support, i.e. key binding
to search the killring and access old content.

so, is there an extension that lets me access the last 10 killring
entries as registers 0-9? that would make it a bit better for usage?

or asked the other way around: how do you use the killring and its
history?

with kind regards
thomas



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

* Re: killring as registers
  2018-09-29 12:07 killring as registers Thomas Meyer
@ 2018-09-29 12:20 ` Robert Pluim
  2018-09-29 12:38   ` Robert Pluim
  2018-09-29 13:12 ` Drew Adams
  2018-09-30  9:27 ` Charles A. Roelli
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2018-09-29 12:20 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: emacs-devel

Thomas Meyer <thomas@m3y3r.de> writes:

> hi,
>
> i'm relativley new to emacs and half way through the manual, and i
> wonder if there is an easy way to access old killring content? i would
> like to use the killring as an "clipboard history" but as far as i
> understand the topic there seems to be no good support, i.e. key binding
> to search the killring and access old content.
>

You can do 'C-h v kill-ring' to show the current contents of the
kill-ring, but itʼs not in a format I find helpful.

> so, is there an extension that lets me access the last 10 killring
> entries as registers 0-9? that would make it a bit better for usage?
>
> or asked the other way around: how do you use the killring and its
> history?

Helm has a nice interface where 'M-y' pops up a buffer with the
kill-ring history.

Regards

Robert



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

* Re: killring as registers
  2018-09-29 12:20 ` Robert Pluim
@ 2018-09-29 12:38   ` Robert Pluim
  2018-09-29 20:30     ` Joost Kremers
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2018-09-29 12:38 UTC (permalink / raw)
  To: emacs-devel

Robert Pluim <rpluim@gmail.com> writes:

> Thomas Meyer <thomas@m3y3r.de> writes:
>> so, is there an extension that lets me access the last 10 killring
>> entries as registers 0-9? that would make it a bit better for usage?
>>
>> or asked the other way around: how do you use the killring and its
>> history?
>
> Helm has a nice interface where 'M-y' pops up a buffer with the
> kill-ring history.
>

Make that 'helm-show-kill-ring'. 'M-y' is just my local binding.



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

* RE: killring as registers
  2018-09-29 12:07 killring as registers Thomas Meyer
  2018-09-29 12:20 ` Robert Pluim
@ 2018-09-29 13:12 ` Drew Adams
  2018-09-30  9:27 ` Charles A. Roelli
  2 siblings, 0 replies; 6+ messages in thread
From: Drew Adams @ 2018-09-29 13:12 UTC (permalink / raw)
  To: Thomas Meyer, emacs-devel

> or asked the other way around: how do you use the killring and its
> history?

The standard way is to follow `C-y' with `M-y', repeating `M-y' to
cycle backward through the history to find the kill what you want.

There are a few libraries that give you other ways to yank past
kills than just cycling through the history.

One way:
https://www.emacswiki.org/emacs/BrowseKillRing

Another (using Icicles): `C-- C-y' or top-level `M-y' lets you yank
past kills using completion. You can filter or sort the candidates
on the fly.



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

* Re: killring as registers
  2018-09-29 12:38   ` Robert Pluim
@ 2018-09-29 20:30     ` Joost Kremers
  0 siblings, 0 replies; 6+ messages in thread
From: Joost Kremers @ 2018-09-29 20:30 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel


On Sat, Sep 29 2018, Robert Pluim wrote:
> Robert Pluim <rpluim@gmail.com> writes:
>
>> Thomas Meyer <thomas@m3y3r.de> writes:
>>> so, is there an extension that lets me access the last 10 
>>> killring
>>> entries as registers 0-9? that would make it a bit better for 
>>> usage?
>>>
>>> or asked the other way around: how do you use the killring and 
>>> its
>>> history?
>>
>> Helm has a nice interface where 'M-y' pops up a buffer with the
>> kill-ring history.
>>
>
> Make that 'helm-show-kill-ring'. 'M-y' is just my local binding.

And of course the ivy/counsel package also offers 
counsel-yank-pop.

-- 
Joost Kremers
Life has its moments



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

* Re: killring as registers
  2018-09-29 12:07 killring as registers Thomas Meyer
  2018-09-29 12:20 ` Robert Pluim
  2018-09-29 13:12 ` Drew Adams
@ 2018-09-30  9:27 ` Charles A. Roelli
  2 siblings, 0 replies; 6+ messages in thread
From: Charles A. Roelli @ 2018-09-30  9:27 UTC (permalink / raw)
  To: Thomas Meyer; +Cc: emacs-devel

> From: Thomas Meyer <thomas@m3y3r.de>
> Date: Sat, 29 Sep 2018 14:07:52 +0200
>
> hi,
> 
> i'm relativley new to emacs and half way through the manual, and i
> wonder if there is an easy way to access old killring content? i would
> like to use the killring as an "clipboard history" but as far as i
> understand the topic there seems to be no good support, i.e. key binding
> to search the killring and access old content.
> 
> so, is there an extension that lets me access the last 10 killring
> entries as registers 0-9? that would make it a bit better for usage?
> 
> or asked the other way around: how do you use the killring and its
> history?
> 
> with kind regards
> thomas

Previous kills are visible on the "Edit" menu, under "Select and
Paste" (for NS builds), or "Paste from Kill Menu" (for other builds).
Using "text-mode menu", you can also see these kills via:

  M-` e s, for NS builds

and for other builds, via the equivalent keys, possibly M-` e P.



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

end of thread, other threads:[~2018-09-30  9:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-29 12:07 killring as registers Thomas Meyer
2018-09-29 12:20 ` Robert Pluim
2018-09-29 12:38   ` Robert Pluim
2018-09-29 20:30     ` Joost Kremers
2018-09-29 13:12 ` Drew Adams
2018-09-30  9:27 ` Charles A. Roelli

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.