mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
updated some configs and theming
This commit is contained in:
parent
bd56720268
commit
8a2031c511
9 changed files with 80 additions and 181 deletions
52
dot_config/flake/home/helix.nix
Normal file
52
dot_config/flake/home/helix.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{pkgs, ...}: {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.helix;
|
||||
settings = {
|
||||
theme = "base16_default";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue