From 89bb298289a75dbd95d5ab07619bbf8b073746c3 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Wed, 6 Nov 2024 09:30:55 +0100 Subject: [PATCH] =?UTF-8?q?fix!(mappings):=20remove=20some=20leftover=20b?= =?UTF-8?q?=C3=A9po=20mappings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: gB comes back to be gb --- after/plugin/mappings.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/after/plugin/mappings.lua b/after/plugin/mappings.lua index a716c23..41a501a 100644 --- a/after/plugin/mappings.lua +++ b/after/plugin/mappings.lua @@ -1,14 +1,15 @@ --[[ -- Contains fixes for mappings created by plugins -- Useful because of bépo +-- NOTE: not in use right now --]] -- Comments.nvim adds `gbc` command, which conflicts with `gb/gé` to move -- between tabs -if vim.fn.maparg("gbc") ~= "" then +--[[ if vim.fn.maparg("gbc") ~= "" then vim.keymap.del("n", "gbc") vim.keymap.set('n', 'gBc', function() return vim.api.nvim_get_vvar('count') == 0 and '(comment_toggle_blockwise_current)' or '(comment_toggle_blockwise_count)' end, { expr = true, desc = 'Comment toggle current block' }) -end +end ]]