ChatGPT.nvim
ChatGPT.nvim copied to clipboard
Allow the ChatGPTEditWithInstructions command to accept a range
Fixes #29
Lovely, have been waiting for this to be fixed for a while now, wondering how people have been managing to use ...WithInstructions without this...
@DGmip If you want to get it working in the meantime, you can use a custom keybind that calls require("chatgpt").edit_with_instructions()
.
For an example look at my comment here.
Nice one have done so
LGTM!
Or just bind the key like this:
vmap <silent> <leader>aa :<C-U>:ChatGPTEditWithInstructions<CR>
@jackMort why don't you merge this?
@Akeboshiwind could you update the readme? Right now I inserted a mention to map the function