feat: add lazy loading to nvim

This commit is contained in:
Moritz Böhme 2025-03-29 11:35:06 +01:00
parent 6ebfb3d109
commit 752dfc55e8
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
64 changed files with 68 additions and 1265 deletions

View file

@ -1,15 +0,0 @@
{ config, lib, pkgs, inputs, ... }:
let
inherit (lib) mkEnableOption mkIf readFile;
in
{
home-manager.users.moritz.programs.nixvim = {
keymaps = [
{ key = "<esc>"; action = "<cmd>noh<cr><esc>"; options.desc = "Escape and clear hlsearch"; mode = [ "i" "n" ]; }
{ key = "<"; action = "<gv"; options.desc = "Shift left"; mode = [ "v" ]; }
{ key = ">"; action = ">gv"; options.desc = "Shift right"; mode = [ "v" ]; }
{ key = "y"; action = "ygv<esc>"; options.desc = "Yank"; mode = [ "v" ]; }
];
};
}