Emacs
Much Ado About Emacs 010
Go Read This
emacs — Matt Gemmell Matt is a writer. He has found Emacs and he describes it. I wish I could write like him.
Dear God.
I read this and laughed out loud.
Dear God, show me the … | ConatusPrinciple
Dear God, show me the way to be content with my fully working Emacs-config and give me strength to resist temptation to tinker with some fancy bullshit functionality or package that will break everything for the 100th time and I will probably never use.Let my startup time always be low. Amen. #emacs
I have been struggling with this. I don’t want to keep monkeying with my configuration. I like where I am in terms of the functionality that Emacs offers me, and I need to keep using the editor and stop customizing it.
Ditching god-mode
I liked god-mode. Don’t need it anymore. I use the general.el setup for almost all the commands that I use regularly. I find that I don’t use the Ctrl key commands all that much. The usual commands are bound to M-o
. Using the Ctrl key once in a while is not a pain that justifies god-mode. I have disabled god-mode. Living in plain vanilla Emacs is a freeing exercise.
Speedbar
More batteries included with emacs Karthinks
I didn’t know about this. It is built-in to Emacs and is a good addition to my workflow. karthinks.com is an amazing resource.
float-narrow-indirect
A GNU Emacs package that provides floating window support for narrow-indirect operations. This package allows you to create floating windows containing narrowed regions of buffers, making it easier to view and compare different parts of a file.
Thanks to Christian Tietze: “yibie/float-narrow-indirect: a…” - Mastodon for pointing me to this.
This adds a feature which is useful to me. This is my configuration.
#+begin_src emacs-lisp
(add-to-list 'load-path "~/.emacs.d/elisp/float-narrow-indirect.el")
(require 'float-narrow-indirect)
(global-set-key (kbd "C-c n f") 'fni-narrow-to-region-floating)
(global-set-key (kbd "C-c n t") 'fni-toggle-focus)
(global-set-key (kbd "C-c n c") 'fni-clear-aggregation)
#+end_src
Open line above
This was a feature I was missing in Emacs. Came from starfasting here,
This is the configuration:
#+begin_src emacs-lisp
(defun open-line (n)
"Replacing builtin function"
(interactive "*p")
(end-of-line)
(newline n))
(defun open-line-above (n)
(interactive "*p")
(beginning-of-line)
(newline n)
(previous-line n))
(global-set-key (kbd "C-S-o") 'open-line-above)
#+end_src
Eye-candy
jimehemacs-liquid-glass-icons Emacs app icons in macOS 26’s new Liquid Glass style.
changes to org-mode
Learned of this from My Emacs Org Configuration - The Emacs Cat
I use:
#+begin_src emacs-lisp
(use-package org-superstar
:config
(setq org-superstar-leading-bullet " ")
(setq org-superstar-headline-bullets-list '("①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩"))
(setq org-superstar-special-todo-items t) ;; Makes TODO header bullets into boxes
(setq org-superstar-todo-bullet-alist '(("TODO" . 9744)
("DONE" . 9745)))
:hook (org-mode . org-superstar-mode))
#+end_src
Some keybindings
Learned this from M-x apropos Emacs
#+begin_src emacs-lisp
(global-set-key (kbd "M-z") #'zap-up-to-char)
(global-set-key (kbd "M-Z") #'zap-to-char)
(global-set-key (kbd "M-F") #'forward-to-word)
(global-set-key (kbd "M-B") #'backward-to-word)
(global-set-key (kbd "C-d") #'delete-forward-char)
(global-set-key (kbd "M-k") #'kill-paragraph)
#+end_src
orgonomic
https://github.com/aaronjensen/emacs-orgonomic][aaronjensen/emacs-orgonomic
Orgonomic replaces return and backspace in org-mode with versions that behave more like they do in a word processor. That is, return at the end of a bulletted list will extend the list. A second return will delete the hanging bullet. Backspace in a bulleted list will delete the bullet or reduce its level by one if it indented. The same is true for headline levels.
This is useful to me.
That is all for today.
macosxguru at the gmail thingie.