Use `x` mapping so that the mapping does not also get enabled in select mode.
3 lines
114 B
Lua
3 lines
114 B
Lua
local opts = { buffer = true, remap = false, silent = true }
|
|
vim.keymap.set('x', '0', ':PreProcIfWrap<CR>', opts)
|