From 3c3e174dad9a3c0333376d33fd1fd9365f7b56fd Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 16 Jun 2024 22:48:52 +0200 Subject: [PATCH] revert keymaps for flash --- lua/plugins/flash.lua | 4 ++-- lua/plugins/mini-surround.lua | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lua/plugins/flash.lua b/lua/plugins/flash.lua index 27161e3..d639dc5 100644 --- a/lua/plugins/flash.lua +++ b/lua/plugins/flash.lua @@ -13,7 +13,7 @@ return { }, keys = { { - 'a', + 's', mode = { 'n', 'x', 'o' }, function() -- default options: exact mode, multi window, all directions, with a backdrop @@ -22,7 +22,7 @@ return { desc = 'Flash jump', }, { - 'A', + 'S', mode = { 'n', 'o', 'x' }, function() require('flash').treesitter() diff --git a/lua/plugins/mini-surround.lua b/lua/plugins/mini-surround.lua index 0287d90..c0b5168 100644 --- a/lua/plugins/mini-surround.lua +++ b/lua/plugins/mini-surround.lua @@ -4,13 +4,13 @@ return { config = function() require('mini.surround').setup({ mappings = { - add = 'sa', -- Add surrounding in Normal and Visual modes - delete = 'sd', -- Delete surrounding - find = 'sf', -- Find surrounding (to the right) - find_left = 'sF', -- Find surrounding (to the left) - highlight = 'sh', -- Highlight surrounding - replace = 'sr', -- Replace surrounding - update_n_lines = 'sn', -- Update `n_lines` + 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` suffix_last = 'l', -- Suffix to search with "prev" method suffix_next = 'n', -- Suffix to search with "next" method