vim: Added system clipboard copy-paste shortcuts (#522)
Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
This commit is contained in:
parent
41a2964704
commit
b4e978f074
23
vim.md
23
vim.md
|
|
@ -18,7 +18,7 @@ Getting started
|
|||
{: .-prime}
|
||||
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| -------------- | -------------------------------- |
|
||||
| `:qa` | Close all files |
|
||||
| `:qa!` | Close all files, abandon changes |
|
||||
| --- | --- |
|
||||
|
|
@ -127,15 +127,18 @@ Getting started
|
|||
|
||||
### Clipboard
|
||||
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| `x` | Delete character |
|
||||
| --- | --- |
|
||||
| `dd` | Delete line _(Cut)_ |
|
||||
| `yy` | Yank line _(Copy)_ |
|
||||
| --- | --- |
|
||||
| `p` | Paste |
|
||||
| `P` | Paste before |
|
||||
| Shortcut | Description |
|
||||
| --- | --- |
|
||||
| `x` | Delete character |
|
||||
| --- | --- |
|
||||
| `dd` | Delete line _(Cut)_ |
|
||||
| `yy` | Yank line _(Copy)_ |
|
||||
| --- | --- |
|
||||
| `p` | Paste |
|
||||
| `P` | Paste before |
|
||||
| --- | --- |
|
||||
| `"*p` _/_ `"+p` | Paste from system clipboard |
|
||||
| `"*y` _/_ `"+y` | Paste to system clipboard |
|
||||
{: .-shortcuts}
|
||||
|
||||
### Visual mode
|
||||
|
|
|
|||
Loading…
Reference in New Issue