This commit is contained in:
Joe Frikker
2026-01-31 13:39:52 -05:00
parent 48f07e740e
commit 7aa49f1c0c
2 changed files with 65 additions and 65 deletions

12
flake.lock generated
View File

@@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1767910483, "lastModified": 1768949235,
"narHash": "sha256-MOU5YdVu4DVwuT5ztXgQpPuRRBjSjUGIdUzOQr9iQOY=", "narHash": "sha256-TtjKgXyg1lMfh374w5uxutd6Vx2P/hU81aEhTxrO2cg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "82fb7dedaad83e5e279127a38ef410bcfac6d77c", "rev": "75ed713570ca17427119e7e204ab3590cc3bf2a5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -60,11 +60,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1767799921, "lastModified": 1769318308,
"narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=", "narHash": "sha256-Mjx6p96Pkefks3+aA+72lu1xVehb6mv2yTUUqmSet6Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d351d0653aeb7877273920cd3e823994e7579b0b", "rev": "1cd347bf3355fce6c64ab37d3967b4a2cb4b878c",
"type": "github" "type": "github"
}, },
"original": { "original": {

118
home.org
View File

@@ -130,7 +130,7 @@ are still Shibumi-specific; ideally I'd find another way to install them.
#+BEGIN_SRC nix #+BEGIN_SRC nix
aws-iam-authenticator aws-iam-authenticator
awscli awscli2
iosevka iosevka
kube kube
kubectl kubectl
@@ -650,8 +650,8 @@ Turn off some default settings that I don't find useful.
(scroll-bar-mode -1) (scroll-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(setq make-backup-files nil) (setq make-backup-files nil)
(setq split-window-threshold 200) (setq split-width-threshold 200)
(setq split-height-threshold 200) (setq split-height-threshold nil)
(setopt display-buffer-base-action (setopt display-buffer-base-action
'((display-buffer-reuse-window display-buffer-same-window '((display-buffer-reuse-window display-buffer-same-window
display-buffer-in-previous-window display-buffer-in-previous-window
@@ -834,53 +834,51 @@ windows. I place windows in the bottom or on the right mostly depending on how w
content to be. content to be.
#+BEGIN_SRC elisp :noweb no :noweb-ref emacs_config #+BEGIN_SRC elisp :noweb no :noweb-ref emacs_config
(cl-flet ((defbottom (&optional (slot 1)) (setopt display-buffer-alist
(lambda (rule) '(((or "\\*Flymake diagnostics *"
`(,rule "\\*Embark Export *"
(display-buffer-reuse-window display-buffer-in-side-window) "\\*Embark Collect *"
(side . bottom) "\\*xref*"
(slot . ,slot) "\\*compilation\\*"
(window-height . 0.33) "\\*sly-mrepl *"
(window-parameters (no-delete-other-windows . t))))) "\\*Messages\\*"
(defright (&optional (slot 0)) "\\*lispy-message\\*"
(lambda (rule) "\\*EGLOT connections\\*"
`(,rule "\\*trace-output\\*"
(display-buffer-reuse-window display-buffer-in-side-window) "\\*occur\\*"
"*eshell\\*")
(display-buffer-reuse-window display-buffer-in-side-window)
(side . bottom)
(slot . 0)
(window-height . 0.33)
(window-parameters (no-delete-other-windows . t)
(no-other-window . t)))
((or "magit: *"
"magit-revision: *"
"\\*eldoc\\*"
"\\*Help\\*"
"\\*rustfmt\\*"
"\\*slack: *"
"\\*forge: *"
"new-pullreq")
(display-buffer-reuse-window display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 0.5)
(window-parameters (no-delete-other-windows . t)
(no-other-window . t)))
("\\*Embark Actions\\*"
(display-buffer-reuse-window display-buffer-in-side-window)
(side . right) (side . right)
(slot . ,slot) (slot . -1)
(window-width . 0.5) (window-width . 0.5)
(window-parameters (no-delete-other-windows . t))))) (window-parameters (no-delete-other-windows . t)
(defall (def &rest rules) (no-other-window . t)))))
(mapcar (lambda (rule) (funcall def rule)) rules)))
(let* ((bottom-window-params '((side . bottom) (setopt window-persistent-parameters
(slot . 1) (cl-list* '(no-delete-other-windows . writable)
(window-height . 0.33) '(no-other-window . writable)
(window-parameters (no-delete-other-windows . t)))) window-persistent-parameters))
(right-window-params '((side . right)
(window-width . 0.5)
(window-parameters (no-delete-other-windows . t))))
(right-window-slot-1-params (cons '(slot . 1) right-window-params)))
(setopt display-buffer-alist
(append
(defall (defbottom)
"\\*Flymake diagnostics *"
"\\*Embark Export *"
"\\*Embark Collect *"
"\\*xref*"
"\\*compilation\\*"
"\\*sly-mrepl *"
"\\*Messages\\*"
"\\*lispy-message\\*"
"\\*EGLOT connections\\*"
"\\*trace-output\\*"
"\\*occur\\*")
(defall (defright)
"magit: *"
"magit-revision: *"
"\\*eldoc\\*"
"\\*Help\\*")
(defall (defright -1)
"\\*Embark Actions\\*")))))
#+END_SRC #+END_SRC
** Editing ** Editing
@@ -935,7 +933,7 @@ its own devil-mode-only repeat maps that don't interfere when using normal modif
((or god-local-mode buffer-read-only) 'box) ((or god-local-mode buffer-read-only) 'box)
(t 'bar)))) (t 'bar))))
(add-hook 'post-command-hook #'my-god-mode-update-cursor-type) (add-hook 'post-command-hook 'my-god-mode-update-cursor-type)
(which-key-enable-god-mode-support)) (which-key-enable-god-mode-support))
#+END_SRC #+END_SRC
@@ -1218,15 +1216,15 @@ available? It seems to work for now anyway...
(add-hook 'prog-mode-hook 'jf-init-fill-column) (add-hook 'prog-mode-hook 'jf-init-fill-column)
(add-hook 'java-mode-hook (lambda () (c-set-offset 'arglist-intro '+))) (add-hook 'java-mode-hook (lambda () (c-set-offset 'arglist-intro '+)))
(dolist (hook ;; (dolist (hook
(list 'grep-mode-hook ;; (list 'grep-mode-hook
'flymake-project-diagnostics-mode-hook ;; 'flymake-project-diagnostics-mode-hook
'xref--xref-buffer-mode-hook ;; 'xref--xref-buffer-mode-hook
'embark-collect-mode-hook ;; 'embark-collect-mode-hook
'compilation-mode-hook ;; 'compilation-mode-hook
'sly-mrepl-mode-hook ;; 'sly-mrepl-mode-hook
'eglot-list-connections-mode-hook)) ;; 'eglot-list-connections-mode-hook))
(add-hook hook 'tab-line-mode)) ;; (add-hook hook 'tab-line-mode))
(setq ediff-split-window-function 'split-window-horizontally) (setq ediff-split-window-function 'split-window-horizontally)
#+END_SRC #+END_SRC
@@ -1270,7 +1268,9 @@ available? It seems to work for now anyway...
(remove-hook 'magit-status-headers-hook 'magit-insert-tags-header)) (remove-hook 'magit-status-headers-hook 'magit-insert-tags-header))
(use-package forge (use-package forge
:after magit) :after magit
:custom
(forge-edit-post-hook '(forge-create-pullreq-insert-single-commit-message)))
(use-package diff-hl (use-package diff-hl
:after magit :after magit