1、整理一些copy来的文档时发现很多空白行。怎样删除空白行?

M-x flush-lines
Flush lines containing match for regexp:^$

2、给每一行的文本排序吧!(每一行的首字母)

首先,选中需要排序的区域,然后输入:

M-x sort-lines

回车后即可。

倒序怎么办呢?

M-x reverse-region

回车。

相关文章:

  • 2021-12-15
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-12-27
  • 2021-09-27
  • 2021-05-21
  • 2021-05-18
相关资源
相似解决方案