summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2026-11-15 13:12:46 +0100
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2026-11-15 13:12:46 +0100
commit770c093d593b0b088e40ce52077dcf63d4a95e89 (patch)
tree8f85b8f606995c33e9d037f023f8e9b7b29ffb4c
parentb1696f41a95cc99e63e67e50515971a978e0042a (diff)
More emacs tweaks after reading a bit in the manual
-rw-r--r--.emacs.d/init.el3
-rw-r--r--.emacs.d/init.org15
2 files changed, 16 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 2e7f8c8..c5daa07 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -22,6 +22,9 @@
:custom
(inhibit-splash-screen t)
(initial-buffer-choice "~/org-files/startup.org")
+ (bookmark-save-flag 1)
+ (show-trailing-whitespace t)
+ (x-stretch-cursor t)
(completion-eager-display t)
(completion-eager-update t)
(completion-show-help nil)
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index 2df4c43..75d2104 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -41,7 +41,7 @@ Tell it to assume ~:ensure t~ as well.
(setq use-package-always-ensure t)
#+end_src
* Basic configuration
-#+begin_src emacs-lisp :tangle "init.el" :noweb yes
+#+begin_src emacs-lisp :tangle "init.el" :noweb tangle
(use-package emacs
:demand t
:custom
@@ -59,6 +59,10 @@ Use a specific org file as the initial buffer.
#+begin_src emacs-lisp :noweb-ref basic-custom
(initial-buffer-choice "~/org-files/startup.org")
#+end_src
+** Bookmarks
+#+begin_src emacs-lisp :noweb-ref basic-custom
+ (bookmark-save-flag 1)
+#+end_src
** System-specific setup
*** MacOS
#+begin_src emacs-lisp :noweb-ref basic-config
@@ -98,6 +102,14 @@ Remove the tool bar
#+begin_src emacs-lisp :noweb-ref basic-config
(tool-bar-mode -1)
#+end_src
+** Show trailing whitespace
+#+begin_src emacs-lisp :noweb-ref basic-custom
+ (show-trailing-whitespace t)
+#+end_src
+** Show the cursor as wide as the glyph under it
+#+begin_src emacs-lisp :noweb-ref basic-custom
+ (x-stretch-cursor t)
+#+end_src
* Minibuffer
Customisation of defaults.
#+begin_src emacs-lisp :noweb-ref basic-custom
@@ -165,7 +177,6 @@ Load support for fossil-scm.
(use-package vc-fossil
:init (add-to-list 'vc-handled-backends 'Fossil t))
#+end_src
-
* Automatically tangle the file on
# Local Variables:
# eval: (add-hook 'after-save-hook #'org-babel-tangle nil t)