reconfiguring helix a bit :3

This commit is contained in:
Schrottkatze 2025-01-06 08:22:31 +01:00
parent 3b6367a9f4
commit 5521d3f479
Signed by: schrottkatze
SSH key fingerprint: SHA256:FPOYVeBy3QP20FEM42uWF1Wa/Qhlk+L3S2+Wuau/Auo

View file

@ -31,12 +31,18 @@
bufferline = "multiple";
color-modes = true;
cursorline = true;
auto-save = true;
auto-save = {
focus-lost = true;
after-delay.enable = true;
after-delay.timeout = 10000;
};
auto-format = true;
end-of-line-diagnostics = "hint";
# slightly optimized based on my layout
jump-label-alphabet = "jfkdaslghwenuiopbcmyzqrtvx";
clipboard-provider = "wayland";
inline-diagnostics = {
cursor-line = "hint";
other-lines = "error";
};
lsp = {
display-messages = true;
@ -65,9 +71,14 @@
"file-type"
];
idle-timeout = 50;
completion-timeout = 100;
indent-guides = {
render = true;
character = "";
skip-levels = 2;
};
soft-wrap = {
enable = true;
};
whitespace = {
render = {
@ -85,6 +96,10 @@
keys = {
normal = {
space."=" = ":fmt";
# smart tab++
tab = "move_parent_node_end";
S-tab = "move_parent_node_start";
};
insert = {
up = "no_op";
@ -95,6 +110,14 @@
pagedown = "no_op";
home = "no_op";
end = "no_op";
# smart tab ++
S-tab = "move_parent_node_start";
};
select = {
# smart tab++
tab = "extend_parent_node_end";
S-tab = "extend_parent_node_start";
};
};
};