{"id":16070337,"url":"https://github.com/Jorenar/fauxClip","last_synced_at":"2025-10-22T15:31:41.100Z","repository":{"id":41942742,"uuid":"226399332","full_name":"Jorenar/fauxClip","owner":"Jorenar","description":"Custom registers, and clipboard support for Vim without +clipboard","archived":false,"fork":false,"pushed_at":"2025-07-13T04:40:45.000Z","size":44,"stargazers_count":33,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-13T06:32:43.745Z","etag":null,"topics":["clip","clipboard","nogui","tmux","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jorenar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-06T19:54:41.000Z","updated_at":"2025-07-13T04:40:48.000Z","dependencies_parsed_at":"2024-03-02T00:27:38.551Z","dependency_job_id":"4f309542-8f9e-4c57-8fd3-916a8fc08b21","html_url":"https://github.com/Jorenar/fauxClip","commit_stats":null,"previous_names":["jorenar/fauxclip"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jorenar/fauxClip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorenar%2FfauxClip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorenar%2FfauxClip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorenar%2FfauxClip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorenar%2FfauxClip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jorenar","download_url":"https://codeload.github.com/Jorenar/fauxClip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jorenar%2FfauxClip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280459241,"owners_count":26334296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clip","clipboard","nogui","tmux","vim"],"created_at":"2024-10-09T07:02:10.774Z","updated_at":"2025-10-22T15:31:40.853Z","avatar_url":"https://github.com/Jorenar.png","language":"Vim Script","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"fauxClip\n========\n\n**fauxClip** is a Vim plugin allowing to define custom registers, with primary\ngoal of providing a pseudo _clipboard_ support for versions of Vim compiled\nwithout _+clipboard_.\n\n---\n\nDefault utilities for clipboard yank and paste are:\n\n* `wl-copy` + `wl-paste` (on Linux with Wayland, or WSL2)\n* `xclip`  (on Linux with X server, or WSL2)\n* `xsel`   (fallback to `xclip`)\n* `pbcopy` + `pbpaste` (on macOS)\n* `clip.exe` + `powershell.exe Get-Clipboard` (on Windows)\n\n---\n\nAssuming you are on Linux, using Tmux, `xclip` is installed, and you didn't\nchange any of fauxClip's defaults, then the dictionary with commands for\nregisters will be set as following:\n\n```vim\nlet g:fauxClip_regcmds = {\n      \\   '+': {\n      \\     'yank':  'xclip -f -i -selection clipboard',\n      \\     'paste': 'xclip -o -selection clipboard',\n      \\   },\n      \\   '*': {\n      \\     'yank':  'xclip -f -i',\n      \\     'paste': 'xclip -o',\n      \\   },\n      \\   ']': {\n      \\     'yank':  'tmux load-buffer -',\n      \\     'paste': 'tmux save-buffer -',\n      \\   }\n      \\ }\n```\n\nBy manually setting any of the items you can overwrite the defaults, or craft\nyour own registers:\n```vim\nlet g:fauxClip_regcmds = {\n      \\   '!': {\n      \\     'paste': 'echo \"Bang!\"'\n      \\   }\n      \\ }\n```\n\n**Note:** to disable clipboard registers `*` and `+` you need to explicitly set\nthem to empty strings.\n\n---\n\nTo set different \"register\" for Tmux than `]`:\n```vim\nlet g:fauxClip_tmux_reg = 't'\n```\n\nIf for some reason you don't want to suppress error messages from clipboard\ncommand (e.g. `xclip`'s empty clipboard), then:\n```vim\nlet g:fauxClip_suppress_errors = 0\n```\n\nIf Vim is compiled with +clipboard, but you want to force usage of custom\ncommands for system clipboard regardless, then:\n```vim\nlet g:fauxClip_sys_force = 1\n```\n\nTo disable removal of carriage return on Windows/WSL2 when pasting, set:\n```vim\nlet g:fauxClip_crlf2lf = 0\n```\n\n## Installation\n\n#### [vim-plug](https://github.com/junegunn/vim-plug):\n```vim\nPlug 'Jorenar/fauxClip'\n```\n\n#### Vim's packages\n```bash\ncd ~/.vim/pack/plugins/start\ngit clone git://github.com/Jorenar/fauxClip.git\n```\n\n#### Single file\n```sh\ncurl --create-dirs -L https://raw.githubusercontent.com/Jorenar/fauxClip/master/plugin/fauxClip.vim -o ~/.vim/plugin/fauxClip.vim\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJorenar%2FfauxClip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJorenar%2FfauxClip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJorenar%2FfauxClip/lists"}