How to select or highlight a block in Emacs?

后端 未结 9 832
一向
一向 2020-12-22 20:37

I want to select or highlight a block in emacs without using mouse but doing it from the keyboard like vim\'s visual mode. What is the easiest way to do this from a keyboard

9条回答
  •  别那么骄傲
    2020-12-22 21:13

    With Emacs 25, simply press C-Space and then move your cursor wherever you want to highlight/select the region of text which interests you. After that, you may need these commands:

    • C-w for cutting.
    • M-w for copying .
    • C-y for pasting .

提交回复
热议问题