diff --git a/init.lua b/init.lua index 560c183337e..5d7be378f1b 100644 --- a/init.lua +++ b/init.lua @@ -455,13 +455,15 @@ do -- -- Examples: -- - va) - [V]isually select [A]round [)]paren - -- - yiiq - [Y]ank [I]nside [I]+1 [Q]uote + -- - yiNq - [Y]ank [I]nside [N]ext [Q]uote -- - ci' - [C]hange [I]nside [']quote require('mini.ai').setup { - -- NOTE: Avoid conflicts with the built-in incremental selection mappings on Neovim>=0.12 (see `:help treesitter-incremental-selection`) + -- NOTE: Avoid conflicts with the built-in mappings (see `:help treesitter-incremental-selection`, `:help al` and `:help il`) mappings = { - around_next = 'aa', - inside_next = 'ii', + around_next = 'aN', + inside_next = 'iN', + around_last = 'aL', + inside_last = 'iL', }, n_lines = 500, }