{ config, lib, pkgs, inputs, ... }: let inherit (lib) mkEnableOption mkIf readFile; in { home-manager.users.moritz = { programs.nixvim = lib.mkMerge [ { plugins.which-key.enable = true; } { plugins.lastplace.enable = true; } { plugins.comment.enable = true; } { plugins.ts-context-commentstring.enable = true; } { plugins.vimtex = { enable = true; settings.view_method = "zathura"; }; } { plugins.todo-comments = { enable = true; keymaps.todoTelescope.key = "fc"; }; } { keymaps = [ { key = ""; action = "noh"; options.desc = "Escape and clear hlsearch"; mode = [ "i" "n" ]; } { key = "<"; action = "