org-mode插入excel文本里的表格内容
excel用于写表格,还是很常用的。excel的表格内容,默认是用Tab键隔开。
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
org-mode适合写GTD/notes。
excel表格内容直接用于org-mode,其实有命令。操作如下:
1. 选中所有行;
2. c-c | ;对应命令的描述如下:
C-c | runs the command org-table-create-or-convert-from-region (found
in org-mode-map), which is an interactive autoloaded compiled Lisp
function in ‘org-table.el’.It is bound to C-c |.
(org-table-create-or-convert-from-region ARG)
Convert region to table, or create an empty table. If there is an
active region, convert it to a table, using the function
‘org-table-convert-region’. See the documentation of that function to
learn how the prefix argument is interpreted to determine the field
separator. If there is no such region, create an empty table with
‘org-table-create’.
实现效果如下:
| 1 | 1 | 1 | 1 |
| 2 | 2 | 2 | 2 |
| 3 | 3 | 3 | 3 |
| 4 | 4 | 4 | 4 |
| 5 | 5 | 5 | 5 |
补充
- c-c | 命令,不支持excel存在合并单元格的情况。