Emacs: How to yank the last yanked text regardless of subsequent kills?

后端 未结 8 990
無奈伤痛
無奈伤痛 2021-01-31 16:23

I often find myself repeatedly yanking something after doing some kills and it becomes a process like:

  1. C-y
  2. C-y M-y
  3. C-y M-y M-y
  4. C-y M-y M
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 17:19

    I'll try to use delete-region more, but I know the kill commands better. A trick that requires no programming or advance planning is to use M-w after a particularly annoying string of M-y. This puts a more accessible copy of the final yank into the kill ring.

提交回复
热议问题