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

后端 未结 8 1140
無奈伤痛
無奈伤痛 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:09

    Don't use the kill ring; put the text into a register instead. C-x r s a to store the region's text into (say) register "a"; then C-x r i a to insert it elsewhere.

提交回复
热议问题