nvim: smartcase and change keys

This commit is contained in:
2026-02-28 19:02:39 +01:00
parent 85395280ba
commit 3e79476b5d
3 changed files with 7 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
vim.pack.add({ "https://github.com/chrisgrieser/nvim-various-textobjs" })
local ok, oil = pcall(require, "various-textobjs")
local ok, vto = pcall(require, "various-textobjs")
if ok then
oil.setup({ keymaps = { useDefaults = true } })
vto.setup({ keymaps = { useDefaults = true, diabledDefaults = { 'r' } } })
vim.keymap.set({ 'o', 'x' }, ' }', vto.restOfParagraph)
else
print("plugin nvim-various-textobjs missing")
end