]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Add org-table-wrap-functions package
[config.org.git] / config.org
index bd1411261c15f39579fe5b94663e8f0c28433cbf..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.
@@ -889,9 +897,11 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 **** General program configs
 #+begin_src shell :tangle ~/.config/ash/ashrc
   export GPG_TTY="$(tty)"
-  export GNUPGHOME="~/.local/share/gnupg"
 
-  export GOPATH="~/.local/share/go"
+  export GNUPGHOME="$HOME/.local/share/gnupg"
+  export GOPATH="$HOME/.local/share/go"
+  export JUPYTER_CONFIG_DIR="$HOME/.config/jupyter"
+  export IPYTHON_DIR="$HOME/.local/share/ipython"
 
   export PAGER='less'
   export GTK_USE_PORTAL=1
@@ -930,8 +940,10 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 #+end_src
 **** Compilation flags
 #+begin_src shell :tangle ~/.config/ash/ashrc
+  export CC=clang
   export CFLAGS="-O3 -pipe -march=native"
-  export CXXFLAGS="$CFLAGS"
+  export CXX=clang++
+  export CXXFLAGS="$CFLAGS -stdlib=libc++"
   export MAKEFLAGS="-j$(nproc)"
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
 #+end_src