fixed keymaps for surround
This commit is contained in:
parent
c7fc189175
commit
92001c6537
@ -4,13 +4,13 @@ return {
|
|||||||
config = function()
|
config = function()
|
||||||
require('mini.surround').setup({
|
require('mini.surround').setup({
|
||||||
mappings = {
|
mappings = {
|
||||||
add = 'aa', -- Add surrounding in Normal and Visual modes
|
add = '<leader>aa', -- Add surrounding in Normal and Visual modes
|
||||||
delete = 'ad', -- Delete surrounding
|
delete = '<leader>ad', -- Delete surrounding
|
||||||
find = 'af', -- Find surrounding (to the right)
|
find = '<leader>af', -- Find surrounding (to the right)
|
||||||
find_left = 'aF', -- Find surrounding (to the left)
|
find_left = '<leader>aF', -- Find surrounding (to the left)
|
||||||
highlight = 'ah', -- Highlight surrounding
|
highlight = '<leader>ah', -- Highlight surrounding
|
||||||
replace = 'ar', -- Replace surrounding
|
replace = '<leader>ar', -- Replace surrounding
|
||||||
update_n_lines = 'an', -- Update `n_lines`
|
update_n_lines = '<leader>an', -- Update `n_lines`
|
||||||
|
|
||||||
suffix_last = 'l', -- Suffix to search with "prev" method
|
suffix_last = 'l', -- Suffix to search with "prev" method
|
||||||
suffix_next = 'n', -- Suffix to search with "next" method
|
suffix_next = 'n', -- Suffix to search with "next" method
|
||||||
|
Loading…
x
Reference in New Issue
Block a user