diff --git a/init.lua b/init.lua index 2779ae9d..9b730484 100644 --- a/init.lua +++ b/init.lua @@ -15,14 +15,14 @@ ======== `"")----------------(""` ___________ ======== ======== /::::::::::| |::::::::::\ \ no mouse \ ======== ======== /:::========| |==hjkl==:::\ \ required \ ======== -======== '""""""""""""' '""""""""""""' '""""""""""' ======== +======== '""""""""""""' '""""""""""""' '"""""""""' ======== ======== ======== ===================================================================== ===================================================================== What is Kickstart? - Kickstart.nvim is *not* a distribution. + Kickstart.nvim is *not* a distribution. Kickstart.nvim is a starting point for your own configuration. The goal is that you can read every line of code, top-to-bottom, understand diff --git a/lua/custom/plugins/surround.lua b/lua/custom/plugins/surround.lua new file mode 100644 index 00000000..36656363 --- /dev/null +++ b/lua/custom/plugins/surround.lua @@ -0,0 +1,18 @@ +return { + { -- https://github.com/echasnovski/mini.surround + 'echasnovski/mini.surround', + version = false, + recommended = true, + opts = { + mappings = { + add = 'gsa', -- Add surrounding in Normal and Visual modes + delete = 'gsd', -- Delete surrounding + find = 'gsf', -- Find surrounding (to the right) + find_left = 'gsF', -- Find surrounding (to the left) + highlight = 'gsh', -- Highlight surrounding + replace = 'gsr', -- Replace surrounding + update_n_lines = 'gsn', -- Update `n_lines` + }, + }, + }, +}