mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 22:04:52 +01:00
docs: explain that commands come in stages
This commit is contained in:
parent
236b25e4c5
commit
e0f12949c7
1 changed files with 10 additions and 2 deletions
12
README.md
12
README.md
|
@ -27,11 +27,19 @@ to interact with this plugin use the `:MP` command
|
|||
| --- | --- |
|
||||
| `:MP toggle` | toggles the codemp sidebar |
|
||||
| `:MP connect [host] [username] [password]` | to connect to server, user and pwd will be prompted if not given |
|
||||
| | |
|
||||
|
||||
once connected, more commands become available:
|
||||
|
||||
| command | description |
|
||||
| --- | --- |
|
||||
| `:MP disconnect` | disconnects from server |
|
||||
| `:MP id` | shows current client id |
|
||||
| `:MP join <workspace>` | will join requested workspace; starts processing cursors, users and filetree |
|
||||
| | |
|
||||
|
||||
after a workspace is joined, more commands become available:
|
||||
|
||||
| command | description |
|
||||
| --- | --- |
|
||||
| `:MP leave <workspace>` | disconnect from a joined workspace |
|
||||
| `: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 |
|
||||
|
|
Loading…
Reference in a new issue