-- vim.opt.shiftwidth = 4 vim.keymap.set('n', 'i', function() local iface = vim.fn.input('Impl: ') if not iface or iface == '' then return end require('internal.cursor').word(function(word) vim.cmd('normal ][o') local args = { 'impl', '-dir', vim.fn.expand('%:h:p'), '"' .. string.lower(word:sub(0, 1)) .. ' *' .. word .. '"', iface, } vim.cmd('r!' .. table.concat(args, ' ')) end) end)