From 5be518f3496edfdf5987820672ce88f35d54c921 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 10 Jul 2023 22:28:39 +0200 Subject: [PATCH] vim: resolve conflicting key mappings fro treesitter --- config/nvim/lua/user/plugins/treesitter.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/nvim/lua/user/plugins/treesitter.lua b/config/nvim/lua/user/plugins/treesitter.lua index 01fbf4a..7190a5f 100644 --- a/config/nvim/lua/user/plugins/treesitter.lua +++ b/config/nvim/lua/user/plugins/treesitter.lua @@ -83,9 +83,9 @@ local config = function() }, } - vim.keymap.set('n', 'sp', 'TSPlaygroundToggle') - vim.keymap.set('n', 'sh', 'TSHighlightCapturesUnderCursor') - vim.keymap.set('n', 'sn', 'TSNodeUnderCursor') + vim.keymap.set('n', 'tp', 'TSPlaygroundToggle') + vim.keymap.set('n', 'th', 'TSHighlightCapturesUnderCursor') + vim.keymap.set('n', 'tn', 'TSNodeUnderCursor') end return {