User.clipboard

Copy selected or full buffer content to the system clipboard with file tags.

1|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/NeKon69/nvim-dot --skill user-clipboard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: User.clipboard
Source: https://github.com/NeKon69/nvim-dot/tree/main/.agents/skills/user.clipboard
Command: npx skills add https://github.com/NeKon69/nvim-dot --skill user-clipboard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of copying text from your current buffer or a selected visual portion directly to your system clipboard, eliminating the need for manual copy-pasting.

Core Features & Use Cases

  • Tagged File Block Formatting: Copies content enclosed in <file="filename">...</file="filename"> tags, useful for documentation or code snippets.
  • Context-Aware Copying: Automatically uses the current buffer's filename for the tags.
  • Visual Mode Support: Copies only the highlighted text when in visual mode.
  • Full Buffer Copying: Copies the entire buffer content if not in visual mode.
  • System Clipboard Integration: Writes directly to the + register for easy pasting.

Quick Start

Copy the current visual selection to the system clipboard using the user.clipboard skill.

Frequently Asked Questions about User.clipboard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy a visual selection to the system clipboard in Neovim?

To copy a visual selection to the system clipboard in Neovim, the Skill extracts the highlighted text and writes it directly to the system's plus register for immediate pasting outside the editor.

Can I copy the entire buffer content with filename tags in Vim?

Yes, you can copy the entire buffer content with filename tags. When not in visual mode, the Skill wraps the full buffer text in file block tags using the current buffer's filename.

What is the tagged file-block format for copied text?

The tagged file-block format encloses copied text within tags containing the buffer's filename, such as enclosing content between file tags to provide context for documentation or code snippets.

Does this clipboard integration work with the standard Vim plus register?

Yes, this clipboard integration works directly with the standard Vim plus register. It writes the selected or full buffer content to the plus register, enabling seamless pasting into system applications.

Why does my copied text include the filename when pasting from Neovim?

Copied text includes the filename because the Skill automatically uses the current buffer's filename to tag the copied content, formatting it as a file block to preserve context for documentation.