Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an operator function #28

Closed
chiphogg opened this issue Dec 15, 2014 · 0 comments
Closed

Add an operator function #28

chiphogg opened this issue Dec 15, 2014 · 0 comments
Assignees

Comments

@chiphogg
Copy link
Contributor

Right now, if we want to copy-paste only a portion of the buffer, we have to select it visually.

It would be pretty slick if we could add an operator function (:help :map-operator). Then for a mapping like ,<, we could do ,<ip to export a syntax-highlighted paragraph to the clipboard.

chiphogg added a commit to chiphogg/vim-syncopate that referenced this issue Dec 16, 2014
Added a new public function, syncopate#ClipboardOperatorfunc(), and a
functions section in documentation.

Changed the mapping prefix to `<Leader><`, and a new mapping with the
bare prefix to work with operators.

Updated the plugins section in the README.

Fixes google#28.
@chiphogg chiphogg self-assigned this Dec 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant