put neogen mappings in a sane place
This commit is contained in:
parent
504543e148
commit
031ced11bb
13
init.lua
13
init.lua
|
@ -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…
Reference in New Issue