Don't map 0 to #if 0 in normal mode
This commit is contained in:
parent
2bae0d50d6
commit
6217dd7f54
@ -1,3 +1,2 @@
|
|||||||
local opts = { buffer = true, remap = false, silent = true }
|
local opts = { buffer = true, remap = false, silent = true }
|
||||||
vim.keymap.set('n', '0', ':PreProcIfWrap<CR>', opts)
|
|
||||||
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)
|
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)
|
||||||
|
@ -2,5 +2,5 @@ vim.opt.commentstring = '//%s'
|
|||||||
vim.opt.matchpairs:append('<:>')
|
vim.opt.matchpairs:append('<:>')
|
||||||
|
|
||||||
local opts = { buffer = true, remap = false, silent = true }
|
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)
|
vim.keymap.set('v', '0', ':PreProcIfWrap<CR>', opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user