fixed keymaps for surround

This commit is contained in:
Oliver Hartmann 2024-06-16 23:04:49 +02:00
parent c7fc189175
commit 92001c6537

View File

@ -4,13 +4,13 @@ return {
config = function()
require('mini.surround').setup({
mappings = {
add = 'aa', -- Add surrounding in Normal and Visual modes
delete = 'ad', -- Delete surrounding
find = 'af', -- Find surrounding (to the right)
find_left = 'aF', -- Find surrounding (to the left)
highlight = 'ah', -- Highlight surrounding
replace = 'ar', -- Replace surrounding
update_n_lines = 'an', -- Update `n_lines`
add = '<leader>aa', -- Add surrounding in Normal and Visual modes
delete = '<leader>ad', -- Delete surrounding
find = '<leader>af', -- Find surrounding (to the right)
find_left = '<leader>aF', -- Find surrounding (to the left)
highlight = '<leader>ah', -- Highlight surrounding
replace = '<leader>ar', -- Replace surrounding
update_n_lines = '<leader>an', -- Update `n_lines`
suffix_last = 'l', -- Suffix to search with "prev" method
suffix_next = 'n', -- Suffix to search with "next" method