nix-config/modules/system/home/editor/helix-config.nix
2024-03-20 04:05:24 +01:00

27 lines
443 B
Nix

{
editor = {
line-number = "relative";
cursorline = true;
auto-format = true;
soft-wrap.enable = true;
whitespace.render = "all";
cursor-shape = {
insert = "bar";
normal = "block";
select = "underline";
};
};
keys.normal = {
h = "move_char_left";
t = "move_line_up";
n = "move_line_down";
s = "move_char_right";
C-n = "search_next";
C-t = "search_prev";
};
}