From a871d9d41ea57b35780ea072d708bd9c2bcedf1a Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Wed, 5 Oct 2022 11:38:21 -0700 Subject: [PATCH] disable K in visual mode to prevent annoying VK keystroke --- lua/keybinds.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 77e6d66..86be1ee 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -68,6 +68,8 @@ map("n", "", "lua require('lspsaga.action').smart_scroll_with_saga(1)< map("n", "b", "GitBlameToggle", opts) -- LSP (see configs/lsp-installer.lua) +-- disable K in visual mode +map("v", "K", "", { noremap=false, silent=true }) -- Checkboxes (see gerardbm/vim-md-checkbox) -- nnoremap we :call changecheckbox()