helix/module.nix: change settings
This commit is contained in:
parent
8ebc58815a
commit
7a1aca654d
1 changed files with 10 additions and 4 deletions
|
@ -22,7 +22,10 @@ in {
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
color-modes = true;
|
color-modes = true;
|
||||||
indent-guides.render = true;
|
indent-guides.render = true;
|
||||||
lsp.display-inlay-hints = true;
|
lsp = {
|
||||||
|
display-inlay-hints = true;
|
||||||
|
display-messages = true;
|
||||||
|
};
|
||||||
line-number = "relative";
|
line-number = "relative";
|
||||||
true-color = true;
|
true-color = true;
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
|
@ -30,9 +33,12 @@ in {
|
||||||
mouse = true;
|
mouse = true;
|
||||||
bufferline = "multiple";
|
bufferline = "multiple";
|
||||||
soft-wrap.enable = true;
|
soft-wrap.enable = true;
|
||||||
lsp.display-messages = true;
|
|
||||||
cursor-shape = {insert = "bar";};
|
cursor-shape = {insert = "bar";};
|
||||||
statusline.left = ["spinner" "version-control" "file-name"];
|
statusline = {
|
||||||
|
left = ["spinner" "version-control" "diagnostics" "file-name"];
|
||||||
|
right = ["file-base-name" "file-type" "selections" "position" "file-encoding"];
|
||||||
|
};
|
||||||
|
gutters.layout = ["diff" "diagnostics" "line-numbers" "spacer"];
|
||||||
inline-diagnostics = {
|
inline-diagnostics = {
|
||||||
cursor-line = "hint";
|
cursor-line = "hint";
|
||||||
other-lines = "error";
|
other-lines = "error";
|
||||||
|
@ -40,7 +46,7 @@ in {
|
||||||
};
|
};
|
||||||
keys.normal = {
|
keys.normal = {
|
||||||
C-g = [":new" ":insert-output ${getExe pkgs.lazygit}" ":buffer-close!" ":redraw"];
|
C-g = [":new" ":insert-output ${getExe pkgs.lazygit}" ":buffer-close!" ":redraw"];
|
||||||
esc = ["collapse_selection" "keep_primary_selection"];
|
esc = ["collapse_selection" "keep_primary_selection" "normal_mode"];
|
||||||
A-H = "goto_previous_buffer";
|
A-H = "goto_previous_buffer";
|
||||||
A-L = "goto_next_buffer";
|
A-L = "goto_next_buffer";
|
||||||
A-w = ":buffer-close";
|
A-w = ":buffer-close";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue