How do I duplicate a whole line in Emacs?

前端 未结 30 1129
时光取名叫无心
时光取名叫无心 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:36

    ctrl-k, ctrl-k, (position to new location) ctrl-y

    Add a ctrl-a if you're not starting at the beginning of the line. And the 2nd ctrl-k is to grab the newline character. It can be removed if you just want the text.

提交回复
热议问题