Compare commits
5 commits
988000655b
...
6128c1a1e3
Author | SHA1 | Date | |
---|---|---|---|
6128c1a1e3 | |||
ee15e3823e | |||
f6fd747fb3 | |||
62bd8fb899 | |||
bcdcabc5c4 |
5 changed files with 22 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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"; }
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}/*
|
||||
|
|
|
@ -184,6 +184,7 @@ let
|
|||
telega
|
||||
aggressive-indent
|
||||
mixed-pitch
|
||||
visual-replace
|
||||
# org-re-reveal # FIXME very not nice hash mismatch when building
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue