[mini.ai] Incremental selection #323
-
Example: return {
{
"neovim/nvim-lspconfig",
opts = {
diagnostics = {
virtual_text = false,
virtual_lines = true,
},
},
},
{
"ErichDonGubler/lsp_lines.nvim",
url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim",
opts = {},
keys = {
{ "<leader>l", "<cmd>lua require('lsp_lines').toggle()<cr>", desc = "Toggle lsp_lines" },
},
},
} How could I incrementally select the 2 inner |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Any 'mini.ai' textobject supports that by repeating it. More detailed: any application of textobject searches it so that to contain current selection. When you press TL;DR: try typing |
Beta Was this translation helpful? Give feedback.
Any 'mini.ai' textobject supports that by repeating it. More detailed: any application of textobject searches it so that to contain current selection. When you press
v
is selects current character. Then pressinga}
searches for "around}
" which contains current selection (single character). Pressinga}
again will search fora}
which contains current selection, and so on. This can also be done with[count]
in Visual and Operator-p…