nix/modules/programs/helix/default.nix

26 lines
473 B
Nix
Raw Normal View History

2024-11-24 16:19:57 +01:00
{pkgs, ...}: {
2024-10-04 22:32:42 +02:00
programs.helix = {
2024-08-31 16:04:57 +02:00
enable = true;
defaultEditor = true;
settings = {
2024-11-24 16:19:57 +01:00
theme = "gruvbox";
2024-09-21 09:44:32 +02:00
editor = {
line-number = "relative";
shell = ["zsh" "-c"];
};
2024-08-31 16:04:57 +02:00
keys.normal = {
Z.Z = ":wq";
Z.Q = ":q!";
2024-09-21 09:44:32 +02:00
space.space = "file_picker";
2024-09-21 09:45:11 +02:00
esc = ["collapse_selection" "keep_primary_selection"];
2024-08-31 16:04:57 +02:00
};
};
};
2024-10-04 22:32:42 +02:00
home.packages = with pkgs; [
2024-08-31 16:04:57 +02:00
nil
2024-10-17 20:30:14 +02:00
pandoc
2024-12-16 12:45:35 +01:00
texliveTeTeX
2024-08-31 16:04:57 +02:00
];
}