{ 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.direnv = { enable = true; nix-direnv.enable = true; }; home.sessionVariables.EDITOR = "hx"; programs.zsh.sessionVariables.EDITOR = "hx"; 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"; }; }; }; }; }; }