mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-25 17:04:50 +01:00
docs: img link, commands table
This commit is contained in:
parent
9d8766c585
commit
ab8b25b6e8
1 changed files with 19 additions and 15 deletions
34
README.md
34
README.md
|
@ -1,5 +1,7 @@
|
||||||
# codemp-nvim
|
# codemp-nvim
|
||||||
<img alt="codemp logo" align="center" src="https://codemp.dev/codemp-t.png" height="100" />
|
|
||||||
|
<a href="https://codemp.dev"><img alt="codemp logo" align="center" src="https://codemp.dev/codemp-t.png" height="100" /></a>
|
||||||
|
|
||||||
> code multiplexer for neovim
|
> code multiplexer for neovim
|
||||||
|
|
||||||
CodeMP is a **collaborative** text editing plugin to work remotely.
|
CodeMP is a **collaborative** text editing plugin to work remotely.
|
||||||
|
@ -17,20 +19,22 @@ and low network footprint, meaning even slow connections can provide stable real
|
||||||
## usage
|
## usage
|
||||||
to interact with this plugin use the `:MP` command
|
to interact with this plugin use the `:MP` command
|
||||||
|
|
||||||
* `:MP toggle` toggles the codemp sidebar
|
| command | description |
|
||||||
* `:MP connect [host] [username] [password]` to connect to server, user and pwd will be prompted if not given
|
| --- | --- |
|
||||||
|
| `:MP toggle` | toggles the codemp sidebar |
|
||||||
* `:MP disconnect` disconnects from server
|
| `:MP connect [host] [username] [password]` | to connect to server, user and pwd will be prompted if not given |
|
||||||
* `:MP id` shows current client id
|
| | |
|
||||||
* `:MP join <workspace>` will join requested workspace; starts processing cursors, users and filetree
|
| `:MP disconnect` | disconnects from server |
|
||||||
|
| `:MP id` | shows current client id |
|
||||||
* `:MP leave <workspace>` disconnect from a joined workspace
|
| `:MP join <workspace>` | will join requested workspace; starts processing cursors, users and filetree |
|
||||||
* `:MP attach <buffer>` will attach to requested buffer if it exists (opens a new local buffer and uses current window)
|
| | |
|
||||||
* `:MP detach <buffer>` detach from a buffer and stop receiving changes
|
| `:MP leave <workspace>` | disconnect from a joined workspace |
|
||||||
* `:MP share` shares current file: creates a new buffer with local file's content, and attach to it
|
| `:MP attach <buffer>` | will attach to requested buffer if it exists (opens a new local buffer and uses current window) |
|
||||||
* `:MP sync` forces resynchronization of current buffer
|
| `:MP detach <buffer>` | detach from a buffer and stop receiving changes |
|
||||||
* `:MP create <bufname>` will create a new empty buffer in workspace
|
| `:MP share` | shares current file: creates a new buffer with local file's content, and attach to it |
|
||||||
* `:MP delete <bufname>` will delete a buffer from workspace
|
| `:MP sync` | forces resynchronization of current buffer |
|
||||||
|
| `:MP create <bufname>` | will create a new empty buffer in workspace |
|
||||||
|
| `:MP delete <bufname>` | will delete a buffer from workspace |
|
||||||
|
|
||||||
### quick start
|
### quick start
|
||||||
* first connect to server with `:MP connect`
|
* first connect to server with `:MP connect`
|
||||||
|
|
Loading…
Reference in a new issue