Don't map 0 to #if 0 in normal mode

This commit is contained in:
Kenneth Benzie (Benie) 2024-06-11 12:34:38 +01:00
parent 2bae0d50d6
commit 6217dd7f54
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,2 @@
local opts = { buffer = true, remap = false, silent = true }
vim.keymap.set('n', '0', ':PreProcIfWrap<CR>', opts)
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)

View File

@ -2,5 +2,5 @@ vim.opt.commentstring = '//%s'
vim.opt.matchpairs:append('<:>')
local opts = { buffer = true, remap = false, silent = true }
vim.keymap.set('n', '0', ':PreProcIfWrap<CR>', opts)
-- vim.keymap.set('n', '0', ':PreProcIfWrap<CR>', opts)
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)