{"id":13451564,"url":"https://github.com/cknadler/vim-anywhere","last_synced_at":"2025-04-13T21:28:51.219Z","repository":{"id":12830309,"uuid":"15505662","full_name":"cknadler/vim-anywhere","owner":"cknadler","description":"Use Vim everywhere you've always wanted to","archived":false,"fork":false,"pushed_at":"2022-05-01T18:42:25.000Z","size":293,"stargazers_count":3695,"open_issues_count":48,"forks_count":147,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-06T17:09:38.095Z","etag":null,"topics":["keyboard-shortcuts","osx","shell","text-editor","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/cknadler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-29T08:18:00.000Z","updated_at":"2025-04-06T16:41:06.000Z","dependencies_parsed_at":"2022-07-15T14:47:52.279Z","dependency_job_id":null,"html_url":"https://github.com/cknadler/vim-anywhere","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cknadler%2Fvim-anywhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cknadler%2Fvim-anywhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cknadler%2Fvim-anywhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cknadler%2Fvim-anywhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cknadler","download_url":"https://codeload.github.com/cknadler/vim-anywhere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248784889,"owners_count":21161190,"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":["keyboard-shortcuts","osx","shell","text-editor","vim"],"created_at":"2024-07-31T07:00:55.936Z","updated_at":"2025-04-13T21:28:51.197Z","avatar_url":"https://github.com/cknadler.png","language":"Shell","funding_links":[],"categories":["Shell","System-wide"],"sub_categories":[],"readme":"# vim-anywhere\n\nSometimes, you edit text outside of Vim. These are sad times. Enter\nvim-anywhere!\n\n![demo](assets/demo.gif)\n\nOnce [invoked](#keybinding), vim-anywhere will open a buffer. Close it and its\ncontents are copied to your __clipboard__ and your previous application is\nrefocused.\n\n## Installation\n\n#### Requirements\n\n__OSX:__\n\n- MacVim (`brew install --cask macvim`)\n\n__Linux:__\n\n- Gnome (or a derivative)\n- gVim\n\n#### Install\n\n```bash\ncurl -fsSL https://raw.github.com/cknadler/vim-anywhere/master/install | bash\n```\n\n#### Update\n\n```bash\n~/.vim-anywhere/update\n```\n\n#### Uninstall\n\n```bash\n~/.vim-anywhere/uninstall\n```\n\n## Keybinding\n\n__OSX:__ ( default = `ctrl+cmd+v` )\n\nYou can adjust the shortcut via [system preferences](assets/shortcut.png).\n\n```\nSystem Preferences \u003e Keyboard \u003e Shortcuts \u003e Services \u003e Vim Anywhere\n```\n\n__Linux:__ ( default = `ctrl+alt+v` )\n\n*Gnome*\n```bash\n$ gconftool -t str --set /desktop/gnome/keybindings/vim-anywhere/binding \u003ccustom binding\u003e\n```\n\n*I3WM*\n\n```bash\n$ echo 'bindsym $mod+Alt+v exec ~/.vim-anywhere/bin/run' \u003e\u003e ~/.i3/config # remember to reload your config after\n```\nAdjust in case `$mod` is not set to ctrl.\n\n## History\n\nvim-anywhere creates a temporary file in `/tmp/vim-anywhere` when invoked. These\nfiles stick around until you restart your system, giving you a temporary\nhistory.\n\nView your history:\n\n```bash\n$ ls /tmp/vim-anywhere\n```\n\nReopen your most recent file:\n\n```bash\n$ vim $( ls /tmp/vim-anywhere | sort -r | head -n 1 )\n```\n\n## Why?\n\nI use Vim for _almost_ everything. I wish I didn't have to say _almost_. My\nusual workflow is to open Vim, write, copy the text out of my current buffer\nand paste it into whatever application I was just using. vim-anywhere attempts\nto automate this process as much as possible, reducing the friction of using\nVim to do more than just edit code.\n\n## Bugs\n\nFirst, make sure to [read the FAQ](FAQ.md). If you don't find the answer you're\nlooking for there, feel free to open an issue.\n\n## [Contributing](CONTRIBUTING.md)\n\nPull requests, suggestions and issues of any kind are welcome. **Make sure\nto check out the [contribution guidelines](CONTRIBUTING.md) before you submit a\npull request.**\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcknadler%2Fvim-anywhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcknadler%2Fvim-anywhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcknadler%2Fvim-anywhere/lists"}