From b4e978f0746322706673fb5e7ad27bd1def99037 Mon Sep 17 00:00:00 2001 From: Gautam Naik Date: Tue, 23 Jun 2020 19:56:41 +0530 Subject: [PATCH] vim: Added system clipboard copy-paste shortcuts (#522) Co-authored-by: Rico Sta. Cruz --- vim.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/vim.md b/vim.md index 2010a44f5..7098ac660 100644 --- a/vim.md +++ b/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