31 lines
907 B
Nix
31 lines
907 B
Nix
{config, lib, pkgs, inputs, ...} : {
|
|
programs.helix = {
|
|
enable = true ;
|
|
defaultEditor = true ;
|
|
settings = {
|
|
theme = "horizon-dark" ;
|
|
editor = {
|
|
scrolloff = 4 ;
|
|
auto-format = true ;
|
|
auto-pairs = false ;
|
|
color-modes = true ;
|
|
lsp.snippets = true ;
|
|
cursor-shape.insert = "bar" ;
|
|
shell = [ "fish" "-c" ] ;
|
|
idle-timeout = 250 ;
|
|
whitespace = {
|
|
render.tab = "all" ;
|
|
characters.tab = "│" ;
|
|
} ;
|
|
soft-wrap = {
|
|
enable = true ;
|
|
wrap-at-text-width = true ;
|
|
} ;
|
|
} ;
|
|
keys = {
|
|
normal = {
|
|
} ;
|
|
} ;
|
|
} ;
|
|
};
|
|
} |