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)
|
(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
|
(use-package clipetty
|
||||||
:delight
|
:delight
|
||||||
:hook (after-init . global-clipetty-mode))
|
:hook (after-init . global-clipetty-mode))
|
||||||
|
@ -456,11 +462,10 @@
|
||||||
(use-package magit-delta
|
(use-package magit-delta
|
||||||
:hook (magit-mode . magit-delta-mode))
|
:hook (magit-mode . magit-delta-mode))
|
||||||
|
|
||||||
;; FIXME
|
(use-package magit-todos
|
||||||
;; (use-package magit-todos
|
:after magit
|
||||||
;; :after magit
|
:custom (magit-todos-keyword-suffix "\\(?:([^)]+)\\)?:?")
|
||||||
;; :custom (magit-todos-keyword-suffix "\\(?:([^)]+)\\)?:?")
|
:config (magit-todos-mode 1))
|
||||||
;; :config (magit-todos-mode 1))
|
|
||||||
|
|
||||||
(use-package difftastic
|
(use-package difftastic
|
||||||
:demand t
|
:demand t
|
||||||
|
|
|
@ -314,6 +314,13 @@ window-rule {
|
||||||
open-focused true
|
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+B { spawn "firefox"; }
|
||||||
Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; }
|
Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; }
|
||||||
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
|
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+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
|
||||||
Mod+Alt+L { spawn "swaylock"; }
|
Mod+Alt+L { spawn "swaylock"; }
|
||||||
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
|
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
|
||||||
|
|
|
@ -168,6 +168,8 @@
|
||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.rtl-sdr.enable = true;
|
||||||
|
|
||||||
# TODO move away from here (how can the interface name be retrieved programmatically?)
|
# TODO move away from here (how can the interface name be retrieved programmatically?)
|
||||||
networking.interfaces.enp11s0.wakeOnLan = {
|
networking.interfaces.enp11s0.wakeOnLan = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -11,12 +11,7 @@ let
|
||||||
inputs.emacs-overlay.overlays.emacs
|
inputs.emacs-overlay.overlays.emacs
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
pkgs-with-tree-sitter-kdl =
|
all-grammars = pkgs'.tree-sitter.withPlugins builtins.attrValues;
|
||||||
(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;
|
|
||||||
treesitGrammars = pkgs'.runCommand "treesit-grammars" { } ''
|
treesitGrammars = pkgs'.runCommand "treesit-grammars" { } ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
for f in ${all-grammars}/*
|
for f in ${all-grammars}/*
|
||||||
|
|
|
@ -184,6 +184,7 @@ let
|
||||||
telega
|
telega
|
||||||
aggressive-indent
|
aggressive-indent
|
||||||
mixed-pitch
|
mixed-pitch
|
||||||
|
visual-replace
|
||||||
# org-re-reveal # FIXME very not nice hash mismatch when building
|
# org-re-reveal # FIXME very not nice hash mismatch when building
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue