aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTeddy Wing2015-10-15 11:33:44 -0400
committerTeddy Wing2015-10-15 11:57:48 -0400
commit8fdb2daa889703bfca28d309e73b1ffd421d1f9b (patch)
treea230feb19a3646a1862dbad07ea311824907b41b /README.md
parenta30524a9fc3e79ae9982b5e93888ee4bc0c1f4db (diff)
downloadvim-system-copy-add-command-mode.tar.bz2
Add `:SystemCopy` commandadd-command-mode
Enable System Copy to be executed from command mode. :SystemCopy will copy the current line. A range can be specified to copy multiple lines: :15,24SystemCopy This lets users to copy lines without moving the cursor, and allows for repeatability using the `@:` command.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index e04c753..ce9ba1f 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,10 @@ In addition, `cP` is mapped to copy the current line directly.
The sequence `cv` is mapped to paste the content of system clipboard to the
next line.
+A command is also included that will copy the current line or a range of lines:
+
+`:15,24SystemCopy` => copy lines 15–24 into system clipboard
+
Clipboard Utilities
-------------------