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": {

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,36 +834,8 @@ 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))
(lambda (rule)
`(,rule
(display-buffer-reuse-window display-buffer-in-side-window)
(side . bottom)
(slot . ,slot)
(window-height . 0.33)
(window-parameters (no-delete-other-windows . t)))))
(defright (&optional (slot 0))
(lambda (rule)
`(,rule
(display-buffer-reuse-window display-buffer-in-side-window)
(side . right)
(slot . ,slot)
(window-width . 0.5)
(window-parameters (no-delete-other-windows . t)))))
(defall (def &rest rules)
(mapcar (lambda (rule) (funcall def rule)) rules)))
(let* ((bottom-window-params '((side . bottom)
(slot . 1)
(window-height . 0.33)
(window-parameters (no-delete-other-windows . t))))
(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 (setopt display-buffer-alist
(append '(((or "\\*Flymake diagnostics *"
(defall (defbottom)
"\\*Flymake diagnostics *"
"\\*Embark Export *" "\\*Embark Export *"
"\\*Embark Collect *" "\\*Embark Collect *"
"\\*xref*" "\\*xref*"
@@ -873,14 +845,40 @@ content to be.
"\\*lispy-message\\*" "\\*lispy-message\\*"
"\\*EGLOT connections\\*" "\\*EGLOT connections\\*"
"\\*trace-output\\*" "\\*trace-output\\*"
"\\*occur\\*") "\\*occur\\*"
(defall (defright) "*eshell\\*")
"magit: *" (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: *" "magit-revision: *"
"\\*eldoc\\*" "\\*eldoc\\*"
"\\*Help\\*") "\\*Help\\*"
(defall (defright -1) "\\*rustfmt\\*"
"\\*Embark Actions\\*"))))) "\\*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)
(slot . -1)
(window-width . 0.5)
(window-parameters (no-delete-other-windows . t)
(no-other-window . t)))))
(setopt window-persistent-parameters
(cl-list* '(no-delete-other-windows . writable)
'(no-other-window . writable)
window-persistent-parameters))
#+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