revert keymaps for flash

This commit is contained in:
Oliver Hartmann 2024-06-16 22:48:52 +02:00
parent 3860fb3d73
commit 3c3e174dad
2 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ return {
}, },
keys = { keys = {
{ {
'a', 's',
mode = { 'n', 'x', 'o' }, mode = { 'n', 'x', 'o' },
function() function()
-- default options: exact mode, multi window, all directions, with a backdrop -- default options: exact mode, multi window, all directions, with a backdrop
@ -22,7 +22,7 @@ return {
desc = 'Flash jump', desc = 'Flash jump',
}, },
{ {
'A', 'S',
mode = { 'n', 'o', 'x' }, mode = { 'n', 'o', 'x' },
function() function()
require('flash').treesitter() require('flash').treesitter()

View File

@ -4,13 +4,13 @@ return {
config = function() config = function()
require('mini.surround').setup({ require('mini.surround').setup({
mappings = { mappings = {
add = 'sa', -- Add surrounding in Normal and Visual modes add = 'aa', -- Add surrounding in Normal and Visual modes
delete = 'sd', -- Delete surrounding delete = 'ad', -- Delete surrounding
find = 'sf', -- Find surrounding (to the right) find = 'af', -- Find surrounding (to the right)
find_left = 'sF', -- Find surrounding (to the left) find_left = 'aF', -- Find surrounding (to the left)
highlight = 'sh', -- Highlight surrounding highlight = 'ah', -- Highlight surrounding
replace = 'sr', -- Replace surrounding replace = 'ar', -- Replace surrounding
update_n_lines = 'sn', -- Update `n_lines` update_n_lines = '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