NixVim: Make some keybinds silent

This commit is contained in:
GHOSCHT 2024-12-02 23:08:18 +01:00
parent 743258bb44
commit 4b2997c4de
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -17,6 +17,7 @@
key = "<leader>ch"; key = "<leader>ch";
action = "<cmd>noh<CR>"; action = "<cmd>noh<CR>";
options = { options = {
silent = true;
desc = "Clear Highlighting"; desc = "Clear Highlighting";
}; };
} }
@ -41,6 +42,7 @@
key = "<C-n>"; key = "<C-n>";
action = "<Cmd>Neotree toggle<CR>"; action = "<Cmd>Neotree toggle<CR>";
options = { options = {
silent = true;
desc = "Toggle Neotree"; desc = "Toggle Neotree";
}; };
} }
@ -81,6 +83,7 @@
key = "<c-k>"; key = "<c-k>";
action = ":wincmd k<CR>"; action = ":wincmd k<CR>";
options = { options = {
silent = true;
desc = "Go Up"; desc = "Go Up";
}; };
} }
@ -89,6 +92,7 @@
key = "<c-j>"; key = "<c-j>";
action = ":wincmd j<CR>"; action = ":wincmd j<CR>";
options = { options = {
silent = true;
desc = "Go Down"; desc = "Go Down";
}; };
} }
@ -97,6 +101,7 @@
key = "<c-h>"; key = "<c-h>";
action = ":wincmd h<CR>"; action = ":wincmd h<CR>";
options = { options = {
silent = true;
desc = "Go Left"; desc = "Go Left";
}; };
} }
@ -105,6 +110,7 @@
key = "<c-l>"; key = "<c-l>";
action = ":wincmd l<CR>"; action = ":wincmd l<CR>";
options = { options = {
silent = true;
desc = "Go Right"; desc = "Go Right";
}; };
} }