mirror of
https://github.com/tuxdotrs/tnvim.git
synced 2025-07-07 05:46:34 +05:30
initial commit
This commit is contained in:
16
modules/home-manager/nvim/old/lua/plugins/gen.lua
Normal file
16
modules/home-manager/nvim/old/lua/plugins/gen.lua
Normal file
@ -0,0 +1,16 @@
|
||||
return {
|
||||
'David-Kunz/gen.nvim',
|
||||
config = function()
|
||||
vim.keymap.set('v', '<leader>ai', ':Gen<CR>')
|
||||
vim.keymap.set('n', '<leader>ai', ':Gen<CR>')
|
||||
require('gen').setup({
|
||||
model = "zephyr",
|
||||
display_mode = "float",
|
||||
show_prompt = true,
|
||||
show_model = true,
|
||||
no_auto_close = false,
|
||||
init = function(options) pcall(io.popen, "ollama serve > /dev/null 2>&1 &") end,
|
||||
debug = false
|
||||
})
|
||||
end,
|
||||
}
|
Reference in New Issue
Block a user