{"id":13478839,"url":"https://github.com/hrantzsch/vimclip","last_synced_at":"2025-03-27T08:31:03.461Z","repository":{"id":99610566,"uuid":"145291878","full_name":"hrantzsch/vimclip","owner":"hrantzsch","description":"Never type outside vim again","archived":false,"fork":false,"pushed_at":"2024-12-15T10:56:11.000Z","size":8,"stargazers_count":80,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-15T11:29:30.503Z","etag":null,"topics":["clipboard","editor","linux","macos","utility","vim"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/hrantzsch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2018-08-19T10:05:03.000Z","updated_at":"2024-12-15T11:06:12.000Z","dependencies_parsed_at":"2024-10-30T12:43:59.398Z","dependency_job_id":null,"html_url":"https://github.com/hrantzsch/vimclip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrantzsch%2Fvimclip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrantzsch%2Fvimclip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrantzsch%2Fvimclip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrantzsch%2Fvimclip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrantzsch","download_url":"https://codeload.github.com/hrantzsch/vimclip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245809740,"owners_count":20676043,"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","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":["clipboard","editor","linux","macos","utility","vim"],"created_at":"2024-07-31T16:02:04.290Z","updated_at":"2025-03-27T08:31:03.448Z","avatar_url":"https://github.com/hrantzsch.png","language":"Shell","readme":"# vimclip\n\nvimclip is a tiny script to spawn your favorite `$EDITOR` and leave what you typed in your clipboard.\nI like to think of it as a lightweight [vim-anywhere](https://github.com/cknadler/vim-anywhere).\n\n## Installation and Usage\n\n### Step 1: Dependencies\n\nBy default, vimclip relies on `xsel` (X11) / `wl-copy` (Wayland) on Linux and `pbcopy` on macOS to copy what you typed into the clipboard.\nMake sure they are available, or make vimclip use a different command by setting `$VIMCLIP_CLIPBOARD_COMMAND`.\n\nYou should also set `$EDITOR` to your favorite editor (probably vim).\n\n### Step 2: Integration\n\n**Copy the script** to a folder in your `$PATH` and mark it executable.\nArch users can install `vimclip-git` from the AUR.\n\nAfter that, you'll want to set a shortcut to automatically spawn a terminal and run `vimclip`.\nThis will depend on your desktop environment and terminal.\nSome examples:\n\n**Ubuntu with gnome-terminal**\n\nOpen `Settings \u003e Devices \u003e Keyboard`, scroll all the way to the bottom, and hit `+` to add a new shortcut.\nCall it vimclip, set the command to `gnome-terminal -- vimclip`, and assign the shortcut you like.\n\n**Other terminal emulators**\n\nFor **KDE's konsole** set the command to `konsole -e vimclip`.\nFor **kitty** simply set it to `kitty vimclip`.\n\n**macOS iTerm**\n\nMake an AppleScript to open an iTerm window with the command `zsh -c $HOME/bin/vimclip` (or wherever you placed vimclip).\nThen make a keyboard shortcut to invoke the script.\nSee also https://github.com/hrantzsch/vimclip/issues/3.\n\n**Others**\n\nIf you run another desktop environment with another terminal emulator I'm sure you'll be able to figure it out as well.\nDon't hesitate to open an issue if not.\n\n### Step 3: Profit\n\n:money_with_wings: :money_with_wings: :money_with_wings:\n\n## Help\n\n### Damn I Lost the Clipboard Content\n\nDon't worry, you won't have to type it all again.\nvimclip stores your input in a temporary file at `/tmp/vimclip.XXXXXXXX` (where XXX... is replaced by a random string).\nSo if you accidentally copied something else into your clipboard before pasting your vimclip input, just go and grab the content from there.\n\n### I Want to Use Another Editor\n\nI called it vimclip, but if your `$EDITOR` is emacs, nano, or any other, it should work as well.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrantzsch%2Fvimclip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrantzsch%2Fvimclip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrantzsch%2Fvimclip/lists"}