mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
30 lines
776 B
Nix
30 lines
776 B
Nix
{ pkgs, lib, config, ... }: {
|
|
options.mods.terminal.development.enable =
|
|
lib.mkEnableOption "enables cli editor";
|
|
|
|
config = lib.mkIf config.mods.terminal.development.enable {
|
|
# home.packages = with pkgs; [];
|
|
programs.helix = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
keys.normal = {
|
|
"esc" = ["collapse_selection" "keep_primary_selection"];
|
|
};
|
|
editor = {
|
|
line-number = "relative";
|
|
completion-replace = true;
|
|
bufferline = "always";
|
|
rulers = [80];
|
|
soft-wrap.enable = true;
|
|
indent-guides.render = true;
|
|
cursor-shape = {
|
|
normal = "block";
|
|
insert = "bar";
|
|
select = "underline";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|