Group chat that nobody in the middle can read, in your editor.
The convene plugin for Neovim puts your chats in buffers: a list of them, one buffer each, and a prompt to say something. It runs the terminal client underneath. This page takes you from nothing to your first hello.
Why bother?
The questions you were about to ask.
A chat in my editor?
If that's where you spend the day, yes. It is the same convene as the app, sealed on your machine the same way. The plugin only shows what the device tells it.
What do I need?
Neovim 0.10 or later, the terminal client convene-cli, and the plugin. No other plugin.
Can I name my chats?
Yes, for yourself. A name you give a chat is yours alone: it stays on your machine, and the list always shows the people in it beside it.
ReceivedGetting set up
Three steps to install, two to talk.
-
Install the terminal client
On a Mac, or on Linux with Homebrew:
brew tap kopilati/releases https://github.com/kopilati/convene-releasesbrew install convene-cliOn Debian or Ubuntu it is
sudo apt install convene-clifrom convene's apt repository, and the terminal brief says how to add it. -
Add the plugin
It is the
nvimfolder of kopilati/convene-releases. With lazy.nvim, add this to your plugins:{ url = "https://github.com/kopilati/convene-releases", name = "convene.nvim", config = function(plugin) vim.opt.rtp:append(plugin.dir .. "/nvim") vim.cmd.runtime("plugin/convene.lua") require("convene").setup({ name = "YourName" }) end, }Without a plugin manager, clone it anywhere and put its
nvimfolder on your runtimepath:git clone https://github.com/kopilati/convene-releases ~/.local/share/convene.nvim, thenvim.opt.rtp:append(vim.fn.expand("~/.local/share/convene.nvim/nvim"))andrequire("convene").setup({ name = "YourName" })in your init.lua. -
Check it
Restart Neovim and run
:checkhealth convene. It says whether it findsconvene-cliand where your seat will be kept. -
Start your first chat, with me
Run
:Convene meet, a space, and my card link, the one I sent you along with this page. Then:Convenelists your chats: put the cursor on mine, press Enter, press i and say hello. -
Hand out your card
:Convene cardputs your card link in the clipboard. Send it to another tester, and they can start a chat with you.
The same card as your Mac app
On a Mac with Touch ID, Neovim can be one of your devices rather than a person of its own: the same card, the same chats, the app and Neovim both running.
-
Start Neovim as a new device
Run
:Convene join. It asks for a passphrase for this device, twice, and then shows a code, already copied. Do this before:Convene meet: a Neovim that is a person of its own already cannot join, so if you tried it first, givesetupa newhome. -
Add it in the app
In Convene, click your card, choose Add a device and paste the code. Neovim says when it is one of your devices, and your chats arrive.
-
Touch ID from then on
The next time the plugin starts, Touch ID opens it instead of the passphrase. The app lists it among your devices, and can put it out again.
Things to try
Tab after :Convene lists the rest.
- Name a chatIn the list, press r on a chat. The name shows as
name (local), beside the people in it. - Send a picture
:Convene attach ~/Pictures/harbour.jpg the harbourin a chat. A picture that arrives shows as a path: gf on its line opens it. - Watch your words arriveYour lines end in
·while queued,∘once some have them and✓once everyone has them. - Take one back
:Convene withdrawtakes back your last words in the chat, if nobody has them yet. - Show your levelPut
%{v:lua.require'convene'.statusline()}in your statusline to see how hidden this device is. - Make it a group
:Convene admitand someone's card link, in the chat.
Where it keeps things, and removing it
- Your seat
- In
~/.local/share/nvim/convene, unless you name anotherhomeinsetup. It is its own card, apart from the app's and the terminal's. One folder is one device, run by one Neovim at a time. - Removing it
- Take the plugin out of your configuration, then
brew uninstall convene-cli. Delete the folder above as well and your card and chats in Neovim are gone with it.
What I'd love to hear
Tell me in our convene chat, as it happens. Small things count. A screenshot helps.
- Your Neovim version and how you installed the plugin.
- A message that was slow, or never got its
✓. - A key you reached for that did nothing.
If it won't start, send me what :checkhealth convene and :messages say.
Thank you. Rune