]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Add tree-sitter
[config.org.git] / config.org
index d2f44be2fdffcc80a06858d20c3296f6844fee15..c991bc23c0a931772cb9160d2acb905da6a1efaa 100644 (file)
@@ -57,6 +57,13 @@ Its fine to set this here because I run Emacs in daemon mode, but if I were not,
         modus-themes-diffs 'desaturated)
   (load-theme 'modus-vivendi t)
 #+end_src
+** Tree-sitter
+#+begin_src emacs-lisp
+  (use-package tree-sitter-langs)
+  (use-package tree-sitter
+    :config (global-tree-sitter-mode)
+    :hook (tree-sitter-after-on-hook . tree-sitter-hl-mode))
+#+end_src
 ** Typography
 *** Font
 Great programming font with ligatures.
@@ -833,15 +840,15 @@ No more clogging up init.el.
 **** Programs
 #+begin_src conf :tangle ~/.spectrwm.conf
   program[aerc] = alacritty -e aerc
-  program[catgirl] = alacritty --hold -e sh -c "while : ; do ssh -p 23 -t root@armaanb.net tmux abduco -a catgirl; sleep 2; done"
+  program[catgirl] = alacritty --hold -e sh -c "while : ; do ssh -p 23 -t root@armaanb.net abduco -a catgirl; sleep 2; done"
   program[emacs] = emacsclient -c
-  program[emacs-anywhere] = emacsclient --eval "(emacs-everywhere)"
   program[firefox] = firefox
+  program[emacs-anywhere] = emacsclient --eval "(emacs-everywhere)"
 
   bind[aerc] = MOD+Control+1
   bind[catgirl] = MOD+Control+2
-  bind[emacs-anywhere] = MOD+Control+3
-  bind[firefox] = MOD+Control+4
+  bind[firefox] = MOD+Control+3
+  bind[emacs-anywhere] = MOD+Control+4
   bind[emacs] = MOD+Control+Return
 #+end_src
 ** Zsh