Litt programmeringsgreier

This commit is contained in:
larstvei 2024-09-25 13:43:47 +02:00
parent d6208c02e7
commit 2a163ba780

View File

@ -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