]> git.armaanb.net Git - config.org.git/commitdiff
Add org-table-wrap-functions package
authorArmaan Bhojwani <me@armaanb.net>
Mon, 28 Jun 2021 23:47:42 +0000 (19:47 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 1 Jul 2021 00:06:54 +0000 (20:06 -0400)
config.org

index a3dde7be41328bd80ae469059a214509e594bfde..eefc8adc417f41b66e7eef65ad415c1c5b8cf49c 100644 (file)
@@ -290,6 +290,14 @@ Define templates for lots of common structure elements. Mostly just used within
                         ))
       (add-to-list 'org-structure-template-alist addition)))
 #+end_src
+** Tables
+#+begin_src emacs-lisp
+  (use-package org-table-wrap-functions
+    :straight (:repo "analyticd/org-table-wrap-functions" :host github)
+    :bind (:map org-mode-map
+                ("C-\\" . org-table-column-wrap-to-width)
+                ("C-|" . 'org-table-unwrap-cell-region)))
+#+end_src
 * Autocompletion
 ** Ivy
 A well balanced completion framework.