diff options
author | Teddy Wing | 2015-11-11 20:11:34 -0500 |
---|---|---|
committer | Teddy Wing | 2015-11-11 20:11:34 -0500 |
commit | f313554c25a6b6cf6044bd6fb3038f484d1507d3 (patch) | |
tree | cb1f9392d68337f2e559f02e8d4b455bdc941a2d /vimrc | |
parent | f644bf199ec806cbf7d9d6ce53e52528abd6477e (diff) | |
download | dotvim-f313554c25a6b6cf6044bd6fb3038f484d1507d3.tar.bz2 |
Create 'copy' plugin
A custom plugin that invokes a system copy to OS X's pasteboard using
`pbcopy` via a Vim command. This allows us to specify a range of lines
to copy in command mode, similar to the way that Chris Toomey's System
Copy plugin provides an easy way to invoke a system copy using motions.
With this plugin we can write:
:5,21Copy
to copy those lines.
:12,'aCopy
will also work.
If your Vim is compiled with `+clipboard` support, you would instead
write:
:15,24y *
Since I use a Vim that doesn't have clipboard support, I decided to use
a plugin to get the same functionality rather than compile a new Vim.
Diffstat (limited to 'vimrc')
0 files changed, 0 insertions, 0 deletions