diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2025-07-13 17:59:06 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2025-07-13 17:59:06 -0500 |
| commit | c4dc8f280f7034ef66dc9ff647f097c69b07ad0c (patch) | |
| tree | 34b1e600350821cb83a2c07f15ffd09b5f4c4c2a | |
| parent | 2e089a3744df46e41e538689d37c9b2e53f2eae4 (diff) | |
| parent | 2ac3e5535f0cbd6801a8da7930a7ff6495e139b7 (diff) | |
| download | dotfiles-c4dc8f280f7034ef66dc9ff647f097c69b07ad0c.tar.gz dotfiles-c4dc8f280f7034ef66dc9ff647f097c69b07ad0c.tar.bz2 dotfiles-c4dc8f280f7034ef66dc9ff647f097c69b07ad0c.zip | |
Merge branch 'master' of ssh://cogarr.net/home/git/dotfiles
| -rw-r--r-- | nvim/init.vim | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index e6931ca..d5b1fd7 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -130,6 +130,7 @@ Plug 'ryanoasis/vim-devicons' "on Plug 'nomnivore/ollama.nvim' Plug 'nvim-lualine/lualine.nvim' +Plug 'dlants/magenta.nvim', {'do': 'npm install --frozen-lockfile'} " Terraform Plug 'hashivim/vim-terraform' @@ -516,9 +517,9 @@ nnoremap <leader>y :let @+ = expand('%')<CR> lua require("ollama").config.model = "codestral" nnoremap <leader>gg :lua require("ollama").prompt("fgen")<CR> vnoremap <leader>gh :lua require("ollama").prompt("Explain_Code")<CR> -vnoremap <leadeR>gG :lua require("ollama").prompt("rewrite")<CR> -nnoremap <leadeR>gt :lua require("ollama").prompt("Raw")<CR> -nnoremap <leadeR>gr :lua require("ollama").prompt("review")<CR> +vnoremap <leader>gG :lua require("ollama").prompt("rewrite")<CR> +nnoremap <leader>gt :lua require("ollama").prompt("Raw")<CR> +nnoremap <leader>gr :lua require("ollama").prompt("review")<CR> lua << EOF vim.api.nvim_create_autocmd('FileType', { -- This handler will fire when the buffer's 'filetype' is "lua" @@ -550,6 +551,20 @@ lua << EOF ]] EOF +" Magenta.nvim +lua << EOF +require('magenta').setup({ + profiles = { + { + name = "local-codestral", + provider = "ollama", + model = "dolphin3:latest" + } + }, + picker = "telescope" +}) +EOF + " Acrisure " Sqlfluf leader+sql |
