diff options
| author | Alex Pickering <alex@cogarr.net> | 2025-07-13 17:55:08 -0500 |
|---|---|---|
| committer | Alex Pickering <alex@cogarr.net> | 2025-07-13 17:55:08 -0500 |
| commit | ddc63eb9b01c197ed998c08c4e79c3a54516860c (patch) | |
| tree | f5bec1f79e8efacbae1f98f573837581788ba754 /nvim | |
| parent | b817b79e9e050f79c5bbc2b10ca0e419e2ee1456 (diff) | |
| download | dotfiles-ddc63eb9b01c197ed998c08c4e79c3a54516860c.tar.gz dotfiles-ddc63eb9b01c197ed998c08c4e79c3a54516860c.tar.bz2 dotfiles-ddc63eb9b01c197ed998c08c4e79c3a54516860c.zip | |
Add magenta
Diffstat (limited to 'nvim')
| -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 7948a5f..4cdf861 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -126,6 +126,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' @@ -508,9 +509,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" @@ -542,6 +543,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 |
