diff --git a/init.lua b/init.lua index 2c89d66..27ec17f 100644 --- a/init.lua +++ b/init.lua @@ -8,6 +8,7 @@ config.ensure_lazy() require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), { spec = { { import = 'plex.plugins' }, + { import = 'plex.plugins.extras.coding' }, { import = 'plex.plugins.extras.ui' }, { import = 'plex.plugins.extras.treesitter' }, { import = 'plex.plugins.extras.editor' }, diff --git a/lua/plex/plugins/extras/coding/sandwich.lua b/lua/plex/plugins/extras/coding/sandwich.lua index b29d003..29c14eb 100644 --- a/lua/plex/plugins/extras/coding/sandwich.lua +++ b/lua/plex/plugins/extras/coding/sandwich.lua @@ -1,16 +1,18 @@ return { { + -- I dont get how this stuff works 'machakann/vim-sandwich', + enabled = false, -- stylua: ignore keys = { -- See https://github.com/machakann/vim-sandwich/blob/master/macros/sandwich/keymap/surround.vim - { 'ds', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, - { 'dss', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, - { 'cs', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, - { 'css', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, - { 'sa', '(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }}, - { 'ir', '(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }}, - { 'ab', '(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }}, + { 'sd', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, + { 'ssd', '(operator-sandwich-delete)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, + { 'sc', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-query-a)', silent = true }, + { 'ssc', '(operator-sandwich-replace)(operator-sandwich-release-count)(textobj-sandwich-auto-a)', silent = true }, + { 'sa', '(operator-sandwich-add)', silent = true, mode = { 'n', 'x', 'o' }}, + { 'ir', '(textobj-sandwich-auto-i)', silent = true, mode = { 'x', 'o' }}, + { 'ab', '(textobj-sandwich-auto-a)', silent = true, mode = { 'x', 'o' }}, }, init = function() vim.g.sandwich_no_default_key_mappings = 1 diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index 203eea6..0aa9cd9 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -62,3 +62,5 @@ Qroczhreer Blokhof Hauck spiderous +zlib +experimentelle diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 12d1f6d..87a5705 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ