]> git.armaanb.net Git - config.org.git/blobdiff - config.org
ash: use clang as CC
[config.org.git] / config.org
index cff07c80e85e97828398a96cfb70b800033e552f..4975fed4a6b5deb21ab23ad05ef99ee933f8c040 100644 (file)
@@ -49,7 +49,7 @@ Use the Modus Operandi theme by Protesilaos Stavrou. Its the best theme for Emac
     (modus-themes-mode-line '3d)
     (modus-themes-scale-headings t)
     (modus-themes-diffs 'desaturated)
-    :config (load-theme 'modus-vivendi t))
+    :config (load-theme 'modus-operandi t))
 #+end_src
 ** Typography
 *** Font
@@ -655,6 +655,11 @@ The best file manager!
     :config (evil-collection-define-key 'normal 'dired-mode-map
       "H" 'dired-hide-dotfiles-mode))
 #+end_src
+** Man
+#+begin_src emacs-lisp
+  (use-package man
+    :bind ("C-c t" . man))
+#+end_src
 ** Git
 *** Magit
 A very good Git interface.
@@ -888,9 +893,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 
   export GOPATH="~/.local/share/go"
 
-  export MANPAGER='nvim +Man!'
   export PAGER='less'
-
   export GTK_USE_PORTAL=1
   export CDPATH=:~
   export LESSHISTFILE=/dev/null
@@ -927,8 +930,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
@@ -1162,7 +1167,5 @@ I use tmux in order to keep my st build light. Still learning how it works.
 #+end_src
 ** sx
 #+begin_src shell :tangle ~/.config/sx/sxrc :tangle-mode (identity #o755)
-  autostart &
-  dwmblocks &
   exec dwm
 #+end_src