switch all keymaps in neovim to silent

This commit is contained in:
jacekpoz 2024-03-24 16:16:09 +01:00
parent 1e03de114b
commit d9663f95b5
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -66,11 +66,13 @@ in {
# lua = true; # lua = true;
action = "<CMD>Neotree toggle<CR>"; action = "<CMD>Neotree toggle<CR>";
key = "<leader>v"; key = "<leader>v";
options.silent = true;
} }
{ {
action = "vim.cmd.MarkdownPreviewToggle"; action = "vim.cmd.MarkdownPreviewToggle";
lua = true; lua = true;
key = "<leader>m"; key = "<leader>m";
options.silent = true;
} }
]; ];
@ -210,8 +212,7 @@ in {
"<leader>k" = "goto_next"; "<leader>k" = "goto_next";
"<leader>q" = "setloclist"; "<leader>q" = "setloclist";
}; };
# TODO maybe change silent = true;
silent = false;
}; };
}; };
rust-tools = { rust-tools = {
@ -236,8 +237,7 @@ in {
"<leader>fb" = "buffers"; "<leader>fb" = "buffers";
"<leader>fh" = "help_tags"; "<leader>fh" = "help_tags";
}; };
# TODO maybe change keymapsSilent = true;
keymapsSilent = false;
}; };
comment-nvim.enable = true; comment-nvim.enable = true;
crates-nvim.enable = true; crates-nvim.enable = true;