Coauthor is a Neovim 0.7+ plugin to automatically help you write. Select some text to use as a prompt, and coauthor will continue writing that text for you.
Put your cursor on a line, then run :CoauthorWrite
.
To check if the server is running, try :CoauthorHealth
.
Install with packer.nvim:
use {
'pkage/coauthor.nvim',
requires = { 'nvim-lua/plenary.nvim' },
config = function()
-- default configuration options shown
require('coauthor').setup({
server_uri = 'http://localhost:8021',
max_length = 256
})
end
}
Install poetry, and ensure you've got the server running somewhere:
$ cd server
$ poetry run python server.py
[ ] work with selections instead of lines
Neovim's API is a bit of a pain to work with, so this is future work.
This plugin was written by patrick kage.