-
Notifications
You must be signed in to change notification settings - Fork 1
/
helix.nix
57 lines (56 loc) · 1.23 KB
/
helix.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{...}: {
home.sessionVariables.EDITOR = "hx";
programs.helix = {
enable = true;
settings = {
theme = "catppuccin_mocha";
keys = {
normal.Z.Z = ":write-quit";
normal.C-q = ":reflow";
normal.D = "kill_to_line_end";
normal.ret = "move_line_down";
normal.S-tab = "jump_backward";
};
editor = {
true-color = true;
auto-pairs = false;
cursorline = true;
rulers = [100];
bufferline = "multiple";
statusline = {
left = ["mode" "spinner" "file-name" "file-modification-indicator" "spacer" "version-control"];
};
file-picker = {
hidden = false;
};
whitespace = {
render = {
space = "none";
newline = "none";
tab = "all";
nbsp = "all";
};
};
lsp.display-messages = true;
};
};
languages = {
language = [
{
name = "typescript";
indent = {
tab-width = 2;
unit = " ";
};
}
{
name = "tsx";
indent = {
tab-width = 2;
unit = " ";
};
}
];
};
};
}