mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
56 lines
1.1 KiB
Nix
56 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
programs.helix = {
|
|
enable = true;
|
|
package = pkgs.mods.helix;
|
|
settings = {
|
|
theme = {
|
|
dark = "rose_pine";
|
|
light = "rose_pine_dawn";
|
|
};
|
|
|
|
editor = {
|
|
auto-format = false;
|
|
end-of-line-diagnostics = "warning";
|
|
|
|
bufferline = "multiple";
|
|
line-number = "relative";
|
|
|
|
inline-diagnostics = {
|
|
cursor-line = "error";
|
|
};
|
|
|
|
statusline = {
|
|
left = ["mode" "spinner" "spacer" "version-control" "file-name"];
|
|
};
|
|
|
|
file-picker = {
|
|
git-ignore = true;
|
|
};
|
|
|
|
lsp = {
|
|
display-inlay-hints = true;
|
|
display-messages = true;
|
|
};
|
|
|
|
cursor-shape.insert = "bar";
|
|
soft-wrap.enable = true;
|
|
};
|
|
|
|
keys = {
|
|
normal = {
|
|
C-right = "move_next_word_start";
|
|
C-left = "move_prev_word_end";
|
|
"=" = ":format";
|
|
|
|
space = {
|
|
F = "file_picker_in_current_buffer_directory";
|
|
};
|
|
};
|
|
insert = {
|
|
C-right = "move_next_word_start";
|
|
C-left = "move_prev_word_end";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|