local M = { 'cshuaimin/ssr.nvim', lazy = true, } function M.config() require('ssr').setup({ border = 'rounded', min_width = 50, min_height = 5, max_width = 120, max_height = 25, adjust_window = true, keymaps = { close = 'q', next_match = 'n', prev_match = 'N', replace_confirm = '', replace_all = '', }, }) end vim.keymap.set({ 'n', 'x' }, 'r', function() require('ssr').open() end) return M