nvim: plugins: Drop all text objects

Equivalent functionality can be achieved with what we
have already enabled from mini or can be enabled via
mini.
This commit is contained in:
Sanchayan Maity 2024-12-21 17:39:57 +05:30
parent c7f9c233dc
commit 470482dfc6
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
2 changed files with 0 additions and 12 deletions

View file

@ -1,8 +0,0 @@
require("various-textobjs").setup({ keymaps = { useDefaults = false } })
vim.keymap.set({"o", "x"}, "ae", function () require("various-textobjs").entireBuffer() end)
vim.keymap.set({"o", "x"}, "ii", function () require("various-textobjs").indentation(true, true) end)
vim.keymap.set({"o", "x"}, "ai", function () require("various-textobjs").indentation(false, true) end)
vim.keymap.set({"o", "x"}, "as", function () require("various-textobjs").subword(false) end)
vim.keymap.set({"o", "x"}, "is", function () require("various-textobjs").subword(true) end)
vim.keymap.set({"o", "x"}, "?" , function () require("various-textobjs").toNextClosingBracket() end)

View file

@ -11,10 +11,6 @@ require "paq" {
'SanchayanMaity/gitlinker.nvim' ,
-- Quickfix
'yorickpeterse/nvim-pqf' ,
-- Text objects
'wellle/targets.vim' ,
'chrisgrieser/nvim-various-textobjs',
'andymass/vim-matchup' ,
-- Async jobs
'nvim-lua/plenary.nvim' ,
'tpope/vim-dispatch' ,