How do I duplicate a whole line in Emacs?

前端 未结 30 1135
时光取名叫无心
时光取名叫无心 2020-12-04 05:20

I saw this same question for VIM and it has been something that I myself wanted to know how to do for Emacs. In ReSharper I use CTRL-D for this action. What is the least num

30条回答
  •  被撕碎了的回忆
    2020-12-04 05:28

    There is package called Avy It has command avy-copy-line. When you use that command, every line in your window gets letter combination. Then you just have to type combination and you get that line. This also works for region. Then you just have to type two combination.

    Here you can see interface:

提交回复
热议问题