From c3a188defe7d1a44cbe87c60c6f683a65d7aba7b Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 27 May 2025 13:06:08 +0200 Subject: [PATCH 1/5] fix: Remove unused mark section M-SPC is used for selecting region anyway --- config.org | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config.org b/config.org index 4a417e2..fcb643e 100644 --- a/config.org +++ b/config.org @@ -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 From 4aeb92eb6f69853a4ee304c69d5a699fe4448e68 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 27 May 2025 13:06:26 +0200 Subject: [PATCH 2/5] feat: Add which-func configuration --- config.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config.org b/config.org index fcb643e..f91f1a1 100644 --- a/config.org +++ b/config.org @@ -205,6 +205,19 @@ 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 + ** Abbrev #+begin_src emacs-lisp From 8ba598127bc7952c8438f655d26ea7f808bf626d Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 27 May 2025 13:49:51 +0200 Subject: [PATCH 3/5] feat: show line numbers --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.org b/config.org index f91f1a1..1f33c7c 100644 --- a/config.org +++ b/config.org @@ -218,6 +218,13 @@ Show function we are currently in in the mode-line. ) #+END_SRC +** Line-numbers + +Show line numbers. +#+BEGIN_SRC emacs-lisp +(global-display-line-numbers-mode t) +#+END_SRC + ** Abbrev #+begin_src emacs-lisp From b79d782623162449a85c299abd5c67252ff3f76d Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 27 May 2025 14:06:08 +0200 Subject: [PATCH 4/5] feat: Make dashboard a bit fancier --- config.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.org b/config.org index 1f33c7c..13cea1e 100644 --- a/config.org +++ b/config.org @@ -639,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 From 706b396e1c100092d75d6374a0107d2e75bd70cf Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 27 May 2025 14:06:22 +0200 Subject: [PATCH 5/5] feat: load org-roam at startup --- config.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.org b/config.org index 13cea1e..dc42e02 100644 --- a/config.org +++ b/config.org @@ -947,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)