diff --git a/config.org b/config.org index 4a417e2..dc42e02 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 @@ -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)