-- lua_add {{{ local vimx = require("artemis") vimx.g.sandwich_no_default_key_mappings = true vimx.keymap.set("n", "s", [[]]) vimx.keymap.set("n", "sa", [[(sandwich-add)]], { remap = true }) vimx.keymap.set("x", "S", [[(sandwich-add)]], { remap = true }) vimx.keymap.set("n", "sd", [[(sandwich-delete)]], { remap = true }) vimx.keymap.set("n", "sdb", [[(sandwich-delete-auto)]], { remap = true }) vimx.keymap.set("n", "sr", [[(sandwich-replace)]], { remap = true }) vimx.keymap.set("n", "srb", [[(sandwich-replace-auto)]], { remap = true }) -- textobj vimx.keymap.set("o", "ib", [[(textobj-sandwich-auto-i)]], { remap = true }) vimx.keymap.set("x", "ib", [[(textobj-sandwich-auto-i)]], { remap = true }) vimx.keymap.set("o", "ab", [[(textobj-sandwich-auto-a)]], { remap = true }) vimx.keymap.set("x", "ab", [[(textobj-sandwich-auto-a)]], { remap = true }) vimx.keymap.set("o", "is", [[(textobj-sandwich-query-i)]], { remap = true }) vimx.keymap.set("x", "is", [[(textobj-sandwich-query-i)]], { remap = true }) vimx.keymap.set("o", "as", [[(textobj-sandwich-query-a)]], { remap = true }) vimx.keymap.set("x", "as", [[(textobj-sandwich-query-a)]], { remap = true }) -- }}}