From 031c860102b02c0f843e66620d0c699974fb6e43 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Mon, 24 Mar 2025 20:25:02 +0100 Subject: [PATCH] keybinds nixvim --- home.nix | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/home.nix b/home.nix index c70dc5e..e2871c8 100644 --- a/home.nix +++ b/home.nix @@ -229,7 +229,7 @@ in { } { - key = "cc"; + key = "cm"; action = ":CompilerOpen"; mode = [ "n" ]; options = { @@ -239,24 +239,34 @@ in { } { - key = "cC"; + key = "cc"; action = ":CompilerStop:CompilerRedo"; mode = [ "n" ]; - options = { + options = { noremap = true; silent = true; }; } { - key = "ch"; + key = "ct"; action = ":CompilerToggleResults"; mode = [ "n" ]; - options = { + options = { noremap = true; silent = true; }; } + + { + key = "y"; + action = "\"+y"; + mode = [ "n" "v" ]; + options = { + noremap = true; + silent = true; + }; + } ]; colorschemes.dracula = { @@ -665,7 +675,7 @@ in { enable = true; settings = { window = { - width = 85; + width = 92; }; }; };