Skip to content

Commit

Permalink
refactor(nvim): configure chatpt-plugin separately
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Dec 15, 2023
1 parent fcea435 commit 0b02695
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ in
nmap <silent> <leader>i :let &bg=(&bg=='light'?'dark':'light')<CR>
" ChatGPT
lua require("chatgpt").setup({ })
nmap <silent> <leader>cc :ChatGPT<CR>
nmap <silent> <leader>cp :ChatGPTActAs<CR>
nmap <silent> <leader>ce :ChatGPTEditWithInstructions<CR>
Expand Down Expand Up @@ -461,7 +460,15 @@ in
nvim-jdtls # https://sookocheff.com/post/vim/neovim-java-ide/

vim-bookmarks
nixpkgs-unstable.vimPlugins.ChatGPT-nvim

{
plugin = nixpkgs-unstable.vimPlugins.ChatGPT-nvim;
config = ''
require("chatgpt").setup({ })
'';
type = "lua";
}

vim-commentary
nixpkgs-unstable.vimPlugins.copilot-vim
crates-nvim
Expand Down

0 comments on commit 0b02695

Please sign in to comment.