From f7765bedaaef1e29cef98674a60007c27292565b Mon Sep 17 00:00:00 2001 From: TheK4n Date: Sun, 15 Jan 2023 21:28:48 +0300 Subject: [PATCH] nvim: silent to ,rr command --- sub/nvim/lua/base/maps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/nvim/lua/base/maps.lua b/sub/nvim/lua/base/maps.lua index dc72dd2..eedeeff 100644 --- a/sub/nvim/lua/base/maps.lua +++ b/sub/nvim/lua/base/maps.lua @@ -92,7 +92,7 @@ function create_func(ft, cmd) return function() if vim.bo.filetype == ft then cmd_string = string.format([[:tabnew %% :terminal %s %% :set nocursorline number norelativenumber G ]], cmd) - keymap.set("n", "rr", cmd_string) + keymap.set("n", "rr", cmd_string, {silent = true}) end end end