Crates.io | nvim-wiretapper-client |
lib.rs | nvim-wiretapper-client |
version | 0.1.0 |
source | src |
created_at | 2024-03-10 19:55:59.408345+00 |
updated_at | 2024-03-10 19:55:59.408345+00 |
description | the cli client for wiretapper.nvim |
homepage | |
repository | https://gitlab.com/jackboxx/wiretapper |
max_upload_size | |
id | 1168897 |
size | 13,716 |
wiretapper.nvim
is a small plugin that lets you send keys to a remote neovim instance over
TCP.
The intended purpose is near zero latency pair programming sessions with people in your
local network but if you find a different use case more power to you.
use 'https://gitlab.com/Jackboxx/wiretapper'
{
'https://gitlab.com/Jackboxx/wiretapper'
}
cargo install nvim-wiretapper-client # or grab a Linux binary from 'https://gitlab.com/Jackboxx/wiretapper/-/releases'
Start sharing your current neovim session as a server by running
lua require('wiretapper').start()
When you're done you can close the server by running
lua require('wiretapper').close()
To connect to a server running on the default port (8181
) on the IP address
192.168.0.25
run the following and start typing as if you were in a neovim buffer
nvim-wiretapper-client -H 192.168.0.25
If the server has a password run the following
nvim-wiretapper-client -H 192.168.0.25 -P "my-amazing-password"
-- all available config options
require('wiretapper').setup({
session = {
port = 8181,
max_clients = 256,
},
auth = {
password = nil, -- set to a string (e.g "my-amazing-password") to enable password authentication
}
})