Compare commits

...

5 commits

Author SHA1 Message Date
706b396e1c feat: load org-roam at startup 2025-05-27 14:06:22 +02:00
b79d782623 feat: Make dashboard a bit fancier 2025-05-27 14:06:08 +02:00
8ba598127b feat: show line numbers 2025-05-27 13:49:51 +02:00
4aeb92eb6f feat: Add which-func configuration 2025-05-27 13:06:26 +02:00
c3a188defe fix: Remove unused mark section
M-SPC is used for selecting region anyway
2025-05-27 13:06:08 +02:00

View file

@ -151,12 +151,6 @@ Use list-buffers bigger brother.
(global-set-key [remap list-buffers] 'ibuffer)
#+end_src
** Mark
#+begin_src emacs-lisp
(global-set-key (kbd "M-SPC") 'mark-word)
#+end_src
** Eldoc
#+BEGIN_SRC emacs-lisp
@ -211,6 +205,26 @@ https://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.
)
#+END_SRC
** Which-func
Show function we are currently in in the mode-line.
#+BEGIN_SRC emacs-lisp
(use-package which-func
:ensure nil
:defer t
:hook
(prog-mode-hook . which-function-mode)
)
#+END_SRC
** Line-numbers
Show line numbers.
#+BEGIN_SRC emacs-lisp
(global-display-line-numbers-mode t)
#+END_SRC
** Abbrev
#+begin_src emacs-lisp
@ -625,6 +639,12 @@ For the keybindings, we have to defien them in both raw and line mode. From the
#+begin_src emacs-lisp
(use-package dashboard
:custom
(dashboard-center-content t) ;; Center content
(dashboard-icon-type 'nerd-icons) ;; Nerd icons used
(dashboard-set-heading-icons t) ;; Heading icons enabled
(dashboard-set-file-icons t) ;; File icons enabled
(dashboard-startup-banner 'logo) ;; Use alternative logo
:config
(dashboard-setup-startup-hook))
#+end_src
@ -927,8 +947,7 @@ https://github.com/remyferre/comment-dwim-2
#+BEGIN_SRC emacs-lisp
(use-package org-roam
:defer t
:after org
:demand
:custom
(org-roam-directory "~/projects/notes")
(org-roam-completion-everywhere t)