A searchable, pinnable clipboard history for VS Code. Local-only and privacy-first — no network calls, ever.
Features
- Automatic capture — every copy/cut (and clipboard changes made outside VS Code) is recorded.
- Pick and Paste — press
Ctrl+Shift+V(Cmd+Shift+Von macOS) to open a searchable list and paste any past item. - Sidebar view — a dedicated Activity Bar panel with Pinned and Recent sections.
- Pin items — keep frequently used snippets at the top; pinned items are never trimmed.
- Multi-cursor paste — pasting inserts at every cursor / replaces every selection.
- Deduplication — repeated copies are moved to the top instead of cluttering the list.
- Ignore patterns — regex patterns to skip secrets/tokens so they never get stored.
- Optional persistence — keep history across sessions, or turn it off for stricter privacy.
Usage
Quick pick
Press Ctrl+Shift+V / Cmd+Shift+V in the editor, type to filter, press Enter to paste.
Sidebar
Click the clipboard icon in the Activity Bar. Each item has inline actions:
- Paste into the active editor (also the default single-click action)
- Pin / Unpin
- Delete
- Copy to Clipboard (right-click menu)
Command Palette
Search for "Clipboard History" to access: Pick and Paste, Clear All History, Refresh.
Settings
| Setting | Default | Description |
|---|---|---|
clipboardHistory.maxItems |
100 |
Max number of unpinned items to keep. |
clipboardHistory.checkInterval |
500 |
Polling interval (ms). 0 disables polling. |
clipboardHistory.onlyWindowFocused |
true |
Only capture while VS Code is focused. |
clipboardHistory.deduplicate |
true |
Move duplicates to top instead of re-adding. |
clipboardHistory.moveToTop |
true |
Move an item to the top when pasted. |
clipboardHistory.persist |
true |
Keep history across sessions. |
clipboardHistory.maxItemSize |
1000000 |
Max characters per item; larger is ignored. |
clipboardHistory.ignorePatterns |
[] |
Regex list; matching content is not stored. |
Privacy
All clipboard data is stored locally in VS Code's extension storage. Nothing is sent anywhere. Disable clipboardHistory.persist if you don't want history written to disk between sessions.
License
MIT