mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 12:30:23 +01:00
33 lines
651 B
Nix
33 lines
651 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.helix = {
|
|
enable = true;
|
|
package = pkgs.helix;
|
|
settings = {
|
|
editor = {
|
|
line-number = "relative";
|
|
cursorline = true;
|
|
color-modes = true;
|
|
lsp.display-messages = true;
|
|
cursor-shape = {
|
|
insert = "bar";
|
|
normal = "block";
|
|
select = "underline";
|
|
};
|
|
indent-guides.render = true;
|
|
};
|
|
keys.normal = {
|
|
space = {
|
|
space = "file_picker";
|
|
w = ":w";
|
|
q = ":q";
|
|
};
|
|
esc = [
|
|
"collapse_selection"
|
|
"keep_primary_selection"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|