@@ -144,26 +144,27 @@ CONTENTS *orgmode-content
144
144
1.3.6.8. around_subtree_from_root...|orgmode-around_subtree_from_root|
145
145
1.3.7. Dot repeat.....................................|orgmode-dot_repeat|
146
146
1.4. Document Diagnostics.......................|orgmode-document_diagnostics|
147
- 1.5. Autocompletion...................................|orgmode-autocompletion|
148
- 1.6. Abbreviations.....................................|orgmode-abbreviations|
149
- 1.7. Colors...................................................|orgmode-colors|
150
- 1.7.1. Highlight Groups.........................|orgmode-highlight_groups|
151
- 1.8. Advanced search.................................|orgmode-advanced_search|
152
- 1.9. Notifications (experimental).......|orgmode-notifications_(experimental)|
153
- 1.9.1. Cron.................................................|orgmode-cron|
154
- 1.10. Clocking..............................................|orgmode-clocking|
155
- 1.10.1. Clock in................................|orgmode-clock_in|
156
- 1.10.2. Clock out..............................|orgmode-clock_out|
157
- 1.10.3. Clock cancel........................|orgmode-clock_cancel|
158
- 1.10.4. Clock goto............................|orgmode-clock_goto|
159
- 1.10.5. Set effort............................|orgmode-set_effort|
160
- 1.10.6. Clock report table............|orgmode-clock_report_table|
161
- 1.10.7. Automatic updates of totals.|orgmode-automatic_updates_of_totals|
162
- 1.10.8. Recalculating totals........|orgmode-recalculating_totals|
163
- 1.10.9. Statusline function..........|orgmode-statusline_function|
164
- 1.11. Changelog............................................|orgmode-changelog|
165
- 1.11.1. 24 October 2021......................|orgmode-24_october_2021|
166
- 1.11.2. 10 October 2021......................|orgmode-10_october_2021|
147
+ 1.5. Tables...................................................|orgmode-tables|
148
+ 1.6. Autocompletion...................................|orgmode-autocompletion|
149
+ 1.7. Abbreviations.....................................|orgmode-abbreviations|
150
+ 1.8. Colors...................................................|orgmode-colors|
151
+ 1.8.1. Highlight Groups.........................|orgmode-highlight_groups|
152
+ 1.9. Advanced search.................................|orgmode-advanced_search|
153
+ 1.10. Notifications (experimental)......|orgmode-notifications_(experimental)|
154
+ 1.10.1. Cron................................................|orgmode-cron|
155
+ 1.11. Clocking..............................................|orgmode-clocking|
156
+ 1.11.1. Clock in................................|orgmode-clock_in|
157
+ 1.11.2. Clock out..............................|orgmode-clock_out|
158
+ 1.11.3. Clock cancel........................|orgmode-clock_cancel|
159
+ 1.11.4. Clock goto............................|orgmode-clock_goto|
160
+ 1.11.5. Set effort............................|orgmode-set_effort|
161
+ 1.11.6. Clock report table............|orgmode-clock_report_table|
162
+ 1.11.7. Automatic updates of totals.|orgmode-automatic_updates_of_totals|
163
+ 1.11.8. Recalculating totals........|orgmode-recalculating_totals|
164
+ 1.11.9. Statusline function..........|orgmode-statusline_function|
165
+ 1.12. Changelog............................................|orgmode-changelog|
166
+ 1.12.1. 24 October 2021......................|orgmode-24_october_2021|
167
+ 1.12.2. 10 October 2021......................|orgmode-10_october_2021|
167
168
168
169
================================================================================
169
170
TABLE OF CONTENT *orgmode-table_of_content*
@@ -182,13 +183,14 @@ TABLE OF CONTENT *orgmode-table_of_conten
182
183
6. Text objects (#text-objects)
183
184
7. Dot repeat (#dot-repeat)
184
185
4. Document Diagnostics (#document-diagnostics)
185
- 5. Autocompletion (#autocompletion)
186
- 6. Abbreviations (#abbreviations)
187
- 7. Colors (#colors)
188
- 8. Advanced search (#advanced-search)
189
- 9. Notifications (experimental) (#notifications-experimental)
190
- 10. Clocking (#clocking)
191
- 11. Changelog (#changelog)
186
+ 5. Tables (#tables)
187
+ 6. Autocompletion (#autocompletion)
188
+ 7. Abbreviations (#abbreviations)
189
+ 8. Colors (#colors)
190
+ 9. Advanced search (#advanced-search)
191
+ 10. Notifications (experimental) (#notifications-experimental)
192
+ 11. Clocking (#clocking)
193
+ 12. Changelog (#changelog)
192
194
193
195
--------------------------------------------------------------------------------
194
196
GETTING STARTED WITH ORGMODE *orgmode-getting_started_with_orgmode*
@@ -1310,6 +1312,29 @@ DOCUMENT DIAGNOSTICS *orgmode-document_diagnostic
1310
1312
Since tree-sitter parser is being used to parse the file, if there are some syntax errors,
1311
1313
it can potentially fail to parse specific parts of document when needed.
1312
1314
1315
+ --------------------------------------------------------------------------------
1316
+ TABLES *orgmode-tables*
1317
+
1318
+ Tables can be formatted via built in `formatexpr` (see `:help gq`)
1319
+
1320
+ For example, having this content:
1321
+ >
1322
+ * TODO My headline
1323
+ DEADLINE: <2022-05-22 Sun>
1324
+ |Header 1|Header 2
1325
+ |-
1326
+ | col 1| col 2|
1327
+ <
1328
+
1329
+ And going to line `4` and pressing `gqgq`, it will format it to this:
1330
+ >
1331
+ * TODO My headline
1332
+ DEADLINE: <2022-05-22 Sun>
1333
+ | Header 1 | Header 2 |
1334
+ |----------+----------|
1335
+ | col 1 | col 2 |
1336
+ <
1337
+
1313
1338
--------------------------------------------------------------------------------
1314
1339
AUTOCOMPLETION *orgmode-autocompletion*
1315
1340
0 commit comments