From 2a163ba780940fc3d9747a9c58f598e79222ce70 Mon Sep 17 00:00:00 2001 From: larstvei Date: Wed, 25 Sep 2024 13:43:47 +0200 Subject: [PATCH] Litt programmeringsgreier --- init.org | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 9286569..b2eec2c 100644 --- a/init.org +++ b/init.org @@ -185,7 +185,7 @@ + Du kan Style emacs som du vil + Se https://emacsthemes.com/ + Pakken =ef-themes= har mange gode fargetemaer - + #+begin_src emacs-lisp :tangle yes (use-package ef-themes @@ -196,3 +196,29 @@ #+end_src + Bruk =M-x consult-theme= for å teste ut ulike fargetemaer! + +* Programmering + ++ /Noen/ liker linjenummere + + #+begin_src emacs-lisp :tangle yes + + (add-hook 'prog-mode-hook 'display-line-numbers-mode) + + #+end_src + ++ /Noen/ liker også relative linjenummere + + #+begin_src emacs-lisp :tangle yes + + (setq display-line-numbers-type t) + + #+end_src + ++ /Alle/ liker å se hvor en parentes starter og slutter + + #+begin_src emacs-lisp :tangle yes + + (show-paren-mode 1) + + #+end_src