add back helix

This commit is contained in:
Sridhar Ratnakumar 2025-09-09 16:30:02 +02:00
parent eafb18a422
commit 889ab1e7a3
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ pkgs, ... }:
{
programs.helix = {
enable = true;
extraPackages = with pkgs; [
marksman
];
settings = {
theme = "snazzy";
editor.true-color = true;
keys.insert.j.j = "normal_mode";
# Shortcut to save file, in any mode.
keys.insert."C-s" = [ ":write" "normal_mode" ];
keys.normal."C-s" = ":write";
editor.lsp = {
display-messages = true;
display-inlay-hints = true;
display-signature-help-docs = true;
};
};
};
}

View file

@ -3,6 +3,7 @@
imports = [
./all/tmux.nix
# ./all/neovim
./all/helix.nix
./all/starship.nix
./all/terminal.nix
./all/nix.nix