Compare commits

...

5 commits

Author SHA1 Message Date
6128c1a1e3
gptel floating windows in niri
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 47s
2025-01-21 20:01:27 +01:00
ee15e3823e
Enable rtl-sdr on picard 2025-01-21 20:01:14 +01:00
f6fd747fb3
Add visual-replace 2025-01-21 20:01:10 +01:00
62bd8fb899
tree-sitter-grammars-kdl has been merged 2025-01-17 09:48:48 +01:00
bcdcabc5c4
Re-enable magit-todos 2025-01-17 09:48:36 +01:00
5 changed files with 22 additions and 12 deletions

View file

@ -141,6 +141,12 @@
(add-hook 'next-error-hook #'pulsar-pulse-line)
)
(use-package visual-replace
:defer t
:bind (("C-c r" . visual-replace)
:map isearch-mode-map
("C-c r" . visual-replace-from-isearch)))
(use-package clipetty
:delight
:hook (after-init . global-clipetty-mode))
@ -456,11 +462,10 @@
(use-package magit-delta
:hook (magit-mode . magit-delta-mode))
;; FIXME
;; (use-package magit-todos
;; :after magit
;; :custom (magit-todos-keyword-suffix "\\(?:([^)]+)\\)?:?")
;; :config (magit-todos-mode 1))
(use-package magit-todos
:after magit
:custom (magit-todos-keyword-suffix "\\(?:([^)]+)\\)?:?")
:config (magit-todos-mode 1))
(use-package difftastic
:demand t

View file

@ -314,6 +314,13 @@ window-rule {
open-focused true
}
window-rule {
match title=r#"^GPTel - Emacs$"#
opacity 0.95
open-floating true
open-focused true
}
@ -341,7 +348,7 @@ binds {
Mod+B { spawn "firefox"; }
Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; }
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; }
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))" "-F" "((name . \"GPTel - Emacs\") (width . 150) (height . 60))'"; }
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
Mod+Alt+L { spawn "swaylock"; }
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }

View file

@ -168,6 +168,8 @@
algorithm = "zstd";
};
hardware.rtl-sdr.enable = true;
# TODO move away from here (how can the interface name be retrieved programmatically?)
networking.interfaces.enp11s0.wakeOnLan = {
enable = true;

View file

@ -11,12 +11,7 @@ let
inputs.emacs-overlay.overlays.emacs
]
);
pkgs-with-tree-sitter-kdl =
(builtins.getFlake "github:aciceri/nixpkgs/23a675ee8313427610cf129dd2b52a69bf6a2a26")
.legacyPackages.${pkgs.stdenv.system};
# TODO remove when merged: https://github.com/NixOS/nixpkgs/pull/371287/files
# all-grammars = pkgs'.tree-sitter.withPlugins builtins.attrValues;
all-grammars = pkgs-with-tree-sitter-kdl.tree-sitter.withPlugins builtins.attrValues;
all-grammars = pkgs'.tree-sitter.withPlugins builtins.attrValues;
treesitGrammars = pkgs'.runCommand "treesit-grammars" { } ''
mkdir $out
for f in ${all-grammars}/*

View file

@ -184,6 +184,7 @@ let
telega
aggressive-indent
mixed-pitch
visual-replace
# org-re-reveal # FIXME very not nice hash mismatch when building
]
)