fix(mini): disable `mini.surround` by default to preserve native `S` key behavior

This commit is contained in:
冰龍與雪風的工作室 2026-05-23 12:39:41 +09:00
parent cfdc17be3a
commit d622b93cb6
1 changed files with 8 additions and 1 deletions

View File

@ -419,12 +419,19 @@ do
n_lines = 500,
}
-- Warning: This plugin sets default keymaps starting with `s`, which override Neovim's native `s`.
-- It causes a short delay when pressing `s` due to keymap ambiguity.
-- To keep Neovim's original `s` behavior, consider disabling this plugin by default,
-- or customize the mappings to use different keys.
--
-- Use `:help map-ambiguous` to see more information.
--
-- Add/delete/replace surroundings (brackets, quotes, etc.)
--
-- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren
-- - sd' - [S]urround [D]elete [']quotes
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').setup()
-- require('mini.surround').setup()
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,