restructure
This commit is contained in:
parent
20b2af86d7
commit
8cf8c5609d
26 changed files with 265 additions and 283 deletions
48
modules/utils/helix.conf.nix
Normal file
48
modules/utils/helix.conf.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
theme = "rose_pine";
|
||||
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
cursorline = true;
|
||||
soft-wrap.enable = true;
|
||||
color-modes = true;
|
||||
whitespace.render = "all";
|
||||
|
||||
auto-format = true;
|
||||
|
||||
lsp = {
|
||||
display-inlay-hints = true;
|
||||
};
|
||||
|
||||
gutters = [ "diagnostics" "line-numbers" "diff" ];
|
||||
|
||||
statusline = {
|
||||
left = [ "mode" "spinner" "version-control" ];
|
||||
center = [ "file-modification-indicator" "read-only-indicator" "file-name" ];
|
||||
right = [ "diagnostics" "position" ];
|
||||
};
|
||||
|
||||
cursor-shape = {
|
||||
insert = "bar";
|
||||
normal = "block";
|
||||
select = "underline";
|
||||
};
|
||||
};
|
||||
|
||||
keys.normal = {
|
||||
h = "move_char_left";
|
||||
t = "move_line_up";
|
||||
n = "move_line_down";
|
||||
s = "move_char_right";
|
||||
|
||||
C-n = "search_next";
|
||||
C-t = "search_prev";
|
||||
};
|
||||
|
||||
keys.select = {
|
||||
h = "extend_char_left";
|
||||
t = "extend_line_up";
|
||||
n = "extend_line_down";
|
||||
s = "extend_char_right";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue