Litt programmeringsgreier
This commit is contained in:
parent
d6208c02e7
commit
2a163ba780
26
init.org
26
init.org
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user