put neogen mappings in a sane place

pull/1704/head
tannerlp 5 months ago
parent 504543e148
commit 031ced11bb

@ -168,7 +168,14 @@ require('lazy').setup({
{ {
'danymat/neogen', 'danymat/neogen',
config = true, config = function()
require('neogen').setup {}
vim.keymap.set('n', '<leader>k', require('neogen').generate, {
noremap = true,
silent = true,
})
end,
-- Uncomment next line if you want to follow only stable versions -- Uncomment next line if you want to follow only stable versions
-- version = "*" -- version = "*"
}, },
@ -367,10 +374,6 @@ require('lazy').setup({
}) })
end, { desc = '[/] Fuzzily search in current buffer' }) end, { desc = '[/] Fuzzily search in current buffer' })
vim.keymap.set('n', '<leader>k', require('neogen').generate, {
noremap = true,
silent = true,
})
-- It's also possible to pass additional configuration options. -- It's also possible to pass additional configuration options.
-- See `:help telescope.builtin.live_grep()` for information about particular keys -- See `:help telescope.builtin.live_grep()` for information about particular keys
vim.keymap.set('n', '<leader>s/', function() vim.keymap.set('n', '<leader>s/', function()

Loading…
Cancel
Save