From b8d51cf32437c0ecd712d884552d663de6162e7c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 17 Aug 2024 23:55:38 +0200 Subject: nvim: Remove binding from select mode --- .config/nvim/after/ftplugin/c.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/after/ftplugin/c.lua b/.config/nvim/after/ftplugin/c.lua index 99659f7..c65969c 100644 --- a/.config/nvim/after/ftplugin/c.lua +++ b/.config/nvim/after/ftplugin/c.lua @@ -1,6 +1,6 @@ vim.bo.commentstring = '// %s' -vim.keymap.set('v', '=', ":'<'>!clang-format -style=file", { +vim.keymap.set('x', '=', ":'<'>!clang-format -style=file", { desc = 'Format the current selection with Clang Format', }) -- cgit v1.2.3