Fixed comment lines
This commit is contained in:
48
init.el.org
48
init.el.org
@@ -1,6 +1,6 @@
|
||||
#+title: init.el.org
|
||||
#+date: [2025-03-18 Tue]
|
||||
#+lastmod: [2025-10-31 Fri 16:29]
|
||||
#+lastmod: [2025-10-31 Fri 16:38]
|
||||
#+hugo_auto_set_lastmod: t
|
||||
#+hugo_base_dir: ~/projects/blog.minded.net/
|
||||
#+export_file_name: init.el.org.md
|
||||
@@ -33,6 +33,7 @@ Or view this file on my blog: [[https://blog.minded.net/emacs][blog.minded.net/e
|
||||
#+end_src
|
||||
|
||||
** Use-package
|
||||
|
||||
[[https://github.com/jwiegley/use-package]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -47,6 +48,7 @@ Or view this file on my blog: [[https://blog.minded.net/emacs][blog.minded.net/e
|
||||
#+end_src
|
||||
|
||||
** Reload configuration
|
||||
|
||||
~M-x reload-emacs-init~
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -57,7 +59,9 @@ Or view this file on my blog: [[https://blog.minded.net/emacs][blog.minded.net/e
|
||||
#+end_src
|
||||
|
||||
** Customizations file
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Customizations.html]]
|
||||
|
||||
You can choose to save customizations somewhere other than your initialization file.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -66,6 +70,7 @@ You can choose to save customizations somewhere other than your initialization f
|
||||
#+end_src
|
||||
|
||||
** TRAMP
|
||||
|
||||
https://www.gnu.org/software/emacs/manual/html_node/tramp/Auto_002dsave-File-Lock-and-Backup.html
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -79,7 +84,9 @@ https://www.gnu.org/software/emacs/manual/html_node/tramp/Auto_002dsave-File-Loc
|
||||
#+end_src
|
||||
|
||||
** Lock files
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html]]
|
||||
|
||||
If create-lockfiles is nil, Emacs does not lock files.
|
||||
|
||||
#+begin_src elisp :tangle no
|
||||
@@ -87,6 +94,7 @@ If create-lockfiles is nil, Emacs does not lock files.
|
||||
#+end_src
|
||||
|
||||
** Yes-or-no prompts
|
||||
|
||||
[[https://www.emacswiki.org/emacs/YesOrNoP]]
|
||||
|
||||
#+begin_src elispx1
|
||||
@@ -94,6 +102,7 @@ If create-lockfiles is nil, Emacs does not lock files.
|
||||
#+end_src
|
||||
|
||||
** Keeping buffers up-to-date
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Revert.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -102,6 +111,7 @@ If create-lockfiles is nil, Emacs does not lock files.
|
||||
#+end_src
|
||||
|
||||
** Disable startup screen
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/elisp/Startup-Summary.html]]
|
||||
|
||||
#+begin_src elisp :tangle no
|
||||
@@ -109,7 +119,9 @@ If create-lockfiles is nil, Emacs does not lock files.
|
||||
#+end_src
|
||||
|
||||
** What to display
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html]]
|
||||
|
||||
I do like the menu bar after all.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -119,6 +131,7 @@ I do like the menu bar after all.
|
||||
#+end_src
|
||||
|
||||
** Mode line column and line numbers
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/efaq/Displaying-the-current-line-or-column.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -144,7 +157,9 @@ I do like the menu bar after all.
|
||||
#+end_src
|
||||
|
||||
** Mood-line
|
||||
|
||||
[[https://gitlab.com/jessieh/mood-line]]
|
||||
|
||||
A lightweight, drop-in replacement for the default Emacs mode line configuration.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -163,6 +178,7 @@ A lightweight, drop-in replacement for the default Emacs mode line configuration
|
||||
#+end_src
|
||||
|
||||
** Sentences
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/efaq/Filling-paragraphs-with-a-single-space.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -170,6 +186,7 @@ A lightweight, drop-in replacement for the default Emacs mode line configuration
|
||||
#+end_src
|
||||
|
||||
** Minibuffer
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Minibuffer-Edit.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -178,6 +195,7 @@ A lightweight, drop-in replacement for the default Emacs mode line configuration
|
||||
#+end_src
|
||||
|
||||
** Word wrap
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Visual-Line-Mode.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -185,6 +203,7 @@ A lightweight, drop-in replacement for the default Emacs mode line configuration
|
||||
#+end_src
|
||||
|
||||
** Mouse support
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Mouse-Input.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -194,7 +213,9 @@ A lightweight, drop-in replacement for the default Emacs mode line configuration
|
||||
#+end_src
|
||||
|
||||
** Kill-line
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Killing-by-Lines.html]]
|
||||
|
||||
If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -202,6 +223,7 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Indentation
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/eintr/Indent-Tabs-Mode.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -209,6 +231,7 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Electric pair mode
|
||||
|
||||
[[https://emacsdocs.org/docs/emacs/Matching]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -216,6 +239,7 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Overwrite highlighted region
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/efaq/Replacing-highlighted-text.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -223,6 +247,7 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Scrolling
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Scrolling.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -230,6 +255,7 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Cursor
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Cursor-Display.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -237,7 +263,9 @@ If non-nil, ~kill-line~ with no arg at start of line kills the whole line.
|
||||
#+end_src
|
||||
|
||||
** Window handling
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Window-Convenience.html]]
|
||||
|
||||
Winner mode is a global minor mode that records the changes in the window configuration (i.e., how the frames are partitioned into windows), so that you can undo them.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -256,7 +284,9 @@ The Windmove package defines commands for moving directionally between neighbori
|
||||
#+end_src
|
||||
|
||||
** Crux
|
||||
|
||||
[[https://github.com/bbatsov/crux]]
|
||||
|
||||
A Collection of Ridiculously Useful eXtensions for Emacs. crux bundles many useful interactive commands to enhance your overall Emacs experience.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -274,6 +304,7 @@ A Collection of Ridiculously Useful eXtensions for Emacs. crux bundles many usef
|
||||
#+end_src
|
||||
|
||||
** Dired
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Dired.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -288,6 +319,7 @@ A Collection of Ridiculously Useful eXtensions for Emacs. crux bundles many usef
|
||||
#+end_src
|
||||
|
||||
** Unset C-z
|
||||
|
||||
Unset C-z which is bound to `suspend-frame' by default.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -295,7 +327,9 @@ Unset C-z which is bound to `suspend-frame' by default.
|
||||
#+end_src
|
||||
|
||||
** Backups
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Backup.html]]
|
||||
|
||||
Automatically backup buffers/files into the ~.emacs.d/backup/ directory.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -308,6 +342,7 @@ Automatically backup buffers/files into the ~.emacs.d/backup/ directory.
|
||||
#+end_src
|
||||
|
||||
** backup-walker
|
||||
|
||||
https://github.com/lewang/backup-walker
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -317,6 +352,7 @@ https://github.com/lewang/backup-walker
|
||||
#+end_src
|
||||
|
||||
** Auto save
|
||||
|
||||
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Save-Control.html]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -336,7 +372,9 @@ https://github.com/lewang/backup-walker
|
||||
#+end_src
|
||||
|
||||
** Magit
|
||||
|
||||
[[https://magit.vc/]]
|
||||
|
||||
[[https://systemcrafters.net/mastering-git-with-magit/introduction/]]
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -345,7 +383,9 @@ https://github.com/lewang/backup-walker
|
||||
#+end_src
|
||||
|
||||
** Which-key
|
||||
|
||||
[[https://github.com/justbur/emacs-which-key]]
|
||||
|
||||
which-key is a minor mode for Emacs that displays the key bindings following your currently entered incomplete command (a prefix) in a popup.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -358,7 +398,9 @@ which-key is a minor mode for Emacs that displays the key bindings following you
|
||||
#+end_src
|
||||
|
||||
** Helm
|
||||
|
||||
[[https://emacs-helm.github.io/helm/]]
|
||||
|
||||
Imagine a life without Helm...
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -384,7 +426,9 @@ Imagine a life without Helm...
|
||||
#+end_src
|
||||
|
||||
** Org-appear
|
||||
|
||||
[[https://github.com/awth13/org-appear]]
|
||||
|
||||
Make invisible parts of Org elements appear visible.
|
||||
|
||||
#+begin_src elisp
|
||||
@@ -402,7 +446,9 @@ Hide emphasis markers by default.
|
||||
#+end_src
|
||||
|
||||
** Org-roam
|
||||
|
||||
https://github.com/org-roam/org-roam
|
||||
|
||||
https://www.orgroam.com/
|
||||
|
||||
#+begin_src elisp
|
||||
|
||||
Reference in New Issue
Block a user