dotfiles/home/modules/cli/development/editing/helix/config/settings.nix

63 lines
1.2 KiB
Nix
Raw Normal View History

2024-11-20 17:47:07 -06:00
{
2025-01-08 01:05:45 -06:00
editor = {
mouse = true;
auto-format = true;
soft-wrap.enable = true;
auto-save = true;
line-number = "relative";
2025-01-11 20:58:53 -06:00
cursorline = true;
indent-guides = {
character = "";
skip-levels = 1;
render = true;
};
2025-01-08 01:05:45 -06:00
lsp = {
display-messages = true;
display-inlay-hints = true;
2024-11-20 17:47:07 -06:00
};
2025-01-08 01:05:45 -06:00
};
2025-01-11 20:58:53 -06:00
2025-01-08 01:05:45 -06:00
keys = {
normal = {
2025-01-11 20:58:53 -06:00
f = ":format";
tab = "indent";
S-tab = "unindent";
ret = [
"add_newline_below"
"move_line_down"
];
S-ret = [
"add_newline_above"
"move_line_up"
];
S-up = [
"extend_to_line_bounds"
"delete_selection"
"move_line_up"
"paste_before"
];
S-down = [
"extend_to_line_bounds"
"delete_selection"
"paste_after"
];
S-g = [
":write-all"
":new"
":insert-output lazygit"
":buffer-close!"
":redraw"
":reload-all"
];
Y = "yank_main_selection_to_primary_clipboard";
R = "replace_selections_with_primary_clipboard";
2025-01-08 01:05:45 -06:00
space = {
q = ":q";
w = ":w";
2024-11-20 17:47:07 -06:00
};
};
};
2025-01-08 01:05:45 -06:00
theme = "catppuccin_macchiato";
2024-11-20 17:47:07 -06:00
}