[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: select yank via completion
From: |
Drew Adams |
Subject: |
RE: select yank via completion |
Date: |
Wed, 18 Nov 2020 15:02:02 -0800 (PST) |
> Looks great, thanks. Any reason you bind it to C-M-y instead
> of to "M-y that doesn't immediately follow C-y"?
FWIW, Icicles uses `icicle-completing-yank' for `M-y'
not right after `C-y'. It's also bound to `C-- C-y'.
(`C-y' is `icicle-yank-maybe-completing'.)
,----
| icicle-completing-yank is an interactive compiled Lisp function in
| 'icicles-cmd1.el'.
|
| It is bound to menu-bar edit icicles icicle-completing-yank.
|
| (icicle-completing-yank)
|
| Yank an entry from a selection ring, choosing it using completion.
| By default, the selection ring used is the kill ring.
|
| If you also use library `browse-kill-ring+.el' or library
| `second-sel.el' then an alternative selection ring is used if you
| provide a prefix argument: `browse-kill-ring-alternative-ring' or
| `secondary-selection-ring'. This gives you a way to yank chosen items
| from two different sets of selections.
|
| When the kill ring is used, this is similar to `yank', but this does
| not rotate the ring. The mark is pushed first, so the yanked text
| becomes the region.
...
`----
Actually, if you use library `second-sel.el' then, by
default Icicles binds `M-y' at top level to command
`icicle-yank-pop-commands', which lets you choose a
selection from either kll-ring or secondary selection
ring, using completion against the ring entries.
,----
| icicle-yank-pop-commands is an interactive compiled Lisp function in
| 'icicles-cmd1.el'.
|
| It is bound to M-insert, M-y.
|
| (icicle-yank-pop-commands &optional ARG)
|
| `yank-pop', `yank-pop-secondary', or `icicle-completing-yank'.
| Which of these is used depends on the previous command, as follows:
|
| * If the previous command was a yank-secondary command, then
| `yank-pop-secondary'.
|
| * Else if the previous command was a yank command (i.e. using the
| kill ring), then `yank-pop'.
|
| * Else `icicle-completing-yank'.
|
| In the last case (`icicle-completing-yank'), during completion you can
| use:
|
| * `C-,' to sort the candidates to yank in different ways (repeat)
| * `S-delete' to remove a candidate entry from the selection ring
| * `C-S-return' to copy a candidate to the other selection ring
|
| You need library `second-sel.el' for this command.
|
`----
- Re: on helm substantial differences, (continued)
- Re: on helm substantial differences, Juri Linkov, 2020/11/18
- Re: on helm substantial differences, Juri Linkov, 2020/11/20
- Re: on helm substantial differences, Eli Zaretskii, 2020/11/20
- Re: on helm substantial differences, Eli Zaretskii, 2020/11/20
- Re: on helm substantial differences, Stefan Monnier, 2020/11/20
- Re: on helm substantial differences, Juri Linkov, 2020/11/21
- Re: on helm substantial differences, Jean Louis, 2020/11/17
- Re: on helm substantial differences, Juri Linkov, 2020/11/18
- Re: on helm substantial differences, Juri Linkov, 2020/11/18
- select yank via completion, Stefan Monnier, 2020/11/18
- RE: select yank via completion,
Drew Adams <=
- Re: select yank via completion, Juri Linkov, 2020/11/19
- RE: select yank via completion, Drew Adams, 2020/11/19
- Re: select yank via completion, Juri Linkov, 2020/11/20
- Re: select yank via completion, Eli Zaretskii, 2020/11/20
- Re: select yank via completion, Juri Linkov, 2020/11/21
- Re: select yank via completion, Eli Zaretskii, 2020/11/21
- Re: select yank via completion, Juri Linkov, 2020/11/21
- Re: select yank via completion, Stefan Monnier, 2020/11/20
- Re: select yank via completion, Juri Linkov, 2020/11/21
- Re: select yank via completion, Stefan Monnier, 2020/11/21