home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
54
home/helix.nix
Normal file
54
home/helix.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
pkgs,
|
||||
helix,
|
||||
...
|
||||
}: {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
package = helix.packages.${pkgs.system}.default;
|
||||
settings = {
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
mouse = false;
|
||||
cursorline = true;
|
||||
cursor-shape = {
|
||||
insert = "bar";
|
||||
normal = "block";
|
||||
select = "underline";
|
||||
};
|
||||
file-picker = {hidden = false;};
|
||||
statusline = {
|
||||
left = ["mode" "spinner"];
|
||||
center = ["file-name" "read-only-indicator" "file-modification-indicator"];
|
||||
right = [
|
||||
"version-control"
|
||||
"diagnostics"
|
||||
"selections"
|
||||
"register"
|
||||
"position"
|
||||
"position-percentage"
|
||||
"file-encoding"
|
||||
"file-line-ending"
|
||||
"file-type"
|
||||
];
|
||||
separator = "|";
|
||||
};
|
||||
lsp = {
|
||||
display-messages = true;
|
||||
display-inlay-hints = true;
|
||||
};
|
||||
indent-guides = {render = true;};
|
||||
idle-timeout = 0;
|
||||
bufferline = "always";
|
||||
soft-wrap = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
keys = {
|
||||
insert = {
|
||||
"C-space" = "completion";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue