<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotvim/bundle/copy, branch master</title>
<subtitle>My vim configuration</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/'/>
<entry>
<title>Create 'copy' plugin</title>
<updated>2015-11-12T01:11:34+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2015-11-12T01:11:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/dotvim/commit/?id=f313554c25a6b6cf6044bd6fb3038f484d1507d3'/>
<id>f313554c25a6b6cf6044bd6fb3038f484d1507d3</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
