mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: ollama: normal mode keybindings
This commit is contained in:
parent
c4c6d8b4d1
commit
27cccbce30
1 changed files with 8 additions and 2 deletions
|
|
@ -137,13 +137,19 @@ require('lazy').setup({
|
|||
{
|
||||
'<leader>j',
|
||||
":Ollama<CR>",
|
||||
desc = 'ollama prompt',
|
||||
desc = 'Ollama Menu',
|
||||
mode = { 'v' },
|
||||
},
|
||||
{
|
||||
'<leader>j',
|
||||
":lua require('ollama').prompt('Generate_Code')<cr>",
|
||||
desc = 'Ollama Code Generation',
|
||||
mode = { 'n' },
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
model = 'mistral',
|
||||
url = 'http://ollama.internal:11434',
|
||||
url = 'http://ollama.internal:11434', -- see /etc/hosts
|
||||
prompts = {
|
||||
Ask_About_Code = false,
|
||||
Simplify_Code = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue