{"id":13443192,"url":"https://github.com/tecosaur/emacs-everywhere","last_synced_at":"2025-04-04T15:11:51.940Z","repository":{"id":38365523,"uuid":"336595603","full_name":"tecosaur/emacs-everywhere","owner":"tecosaur","description":"Mirror of https://git.tecosaur.net/tec/emacs-everywhere","archived":false,"fork":false,"pushed_at":"2024-04-16T10:23:06.000Z","size":80,"stargazers_count":493,"open_issues_count":20,"forks_count":51,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-28T07:45:12.584Z","etag":null,"topics":["emacs","keyboard-shortcuts","mirror"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tecosaur.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"tecosaur","liberapay":"tec"}},"created_at":"2021-02-06T17:29:30.000Z","updated_at":"2024-05-09T18:42:46.660Z","dependencies_parsed_at":"2024-01-13T17:09:52.491Z","dependency_job_id":"dcd8b3d1-80ae-4b2f-ba67-3a5550e6a1cb","html_url":"https://github.com/tecosaur/emacs-everywhere","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/tecosaur%2Femacs-everywhere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecosaur%2Femacs-everywhere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecosaur%2Femacs-everywhere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tecosaur%2Femacs-everywhere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tecosaur","download_url":"https://codeload.github.com/tecosaur/emacs-everywhere/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198469,"owners_count":20900081,"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":["emacs","keyboard-shortcuts","mirror"],"created_at":"2024-07-31T03:01:57.308Z","updated_at":"2025-04-04T15:11:51.921Z","avatar_url":"https://github.com/tecosaur.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/tecosaur","https://liberapay.com/tec"],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"#+title: Emacs Everywhere\n#+author: TEC\n#+date:  2021-02-06\n\n#+html: \u003cp\u003e\u003cimg src=\"https://img.shields.io/badge/Emacs-26.3+-blueviolet.svg?style=flat-square\u0026logo=GNU%20Emacs\u0026logoColor=white\"\u003e\n#+html: \u003ca href=\"https://melpa.org/#/emacs-everywhere\"\u003e\u003cimg src=\"https://melpa.org/packages/emacs-everywhere-badge.svg\"\u003e\u003c/a\u003e\n#+html: \u003cimg src=\"https://img.shields.io/badge/stage-%CE%B2,%20refinement-orange?style=flat-square\"\u003e\n#+html: \u003cimg src=\"https://img.shields.io/badge/-Linux-fcc624?logo=linux\u0026style=flat-square\u0026logoColor=black\"\u003e\n#+html: \u003cimg src=\"https://img.shields.io/badge/-MacOS-lightgrey?logo=apple\u0026style=flat-square\u0026logoColor=black\"\u003e\n#+html: \u003ca href=\"https://liberapay.com/tec\"\u003e\u003cimg src=\"https://shields.io/badge/support%20my%20efforts-f6c915?logo=Liberapay\u0026style=flat-square\u0026logoColor=black\"\u003e\u003c/a\u003e\u003c/p\u003e\n\nA re-implementation of the fantastic idea in [[https://github.com/zachcurry/emacs-anywhere][zachcurry/emacs-anywhere]].\n\n[[https://user-images.githubusercontent.com/20903656/107152385-814f2c00-69a2-11eb-978f-b3e78067b3f3.gif]]\n\n* Installation\n\nJust install from [[https://melpa.org/][MELPA]], and you're ready to go.\n\n** Doom\n\nAvailable with the =:app everywhere= module (and with a nice modeline).\n\n** Dependencies\n\nOn Linux, ensure you have the following dependencies satisfied: =xclip=, =xdotool=, =xprop=, and =xwininfo=.\n\n* Usage\n\nInvoke the Emacs Everywhere executable^{†}.\nI recommend doing this by [[*Binding a Shortcut][binding a shortcut]] to:\n#+begin_src shell\nemacsclient --eval \"(emacs-everywhere)\"\n#+end_src\n\nA new Emacs frame will appear, within which you can type away to your heart's content.\nIt will remember which window you have focused.\n\nBy default, ~emacs-everywhere-insert-selection~ is a hook in\n~emacs-everywhere-init-hooks~, and will insert the last text selection into your\nnew buffer. To clear this, type =DEL= or =C-SPC= /before anything else/.\n\nOnce you've finished and want to insert the text into the window you triggered\nEmacs Everywhere from, just press =C-c C-c= or =C-x 5 0= to close the frame and\npaste the content into the window (as long as ~emacs-everywhere-paste-command~ is\nnon-nil).\n\nIf you do /not/ wish to paste the buffer content into the original window, =C-c\nC-k= still copies the content to the clipboard, but never pastes.\n\n-----\n\n^{*†*} This requires the Emacs daemon to be running, but that's super easy.\nJust call =emacs --daemon= and you're sorted!\n\n* Binding a Shortcut\n\nEmacs-everywhere needs a way to launch when a not-emacs application has focus. The easiest way to do this is to have a global keybinding/keyboard shortcut dedicated to launching (same as above): ~emacsclient --eval \"(emacs-everywhere)\"~\n\nOn linux/bsd, use your desktop environment, windows manager, or a dedicated processes (like sxhkd, xbindkeys). The [[https://help.ubuntu.com/stable/ubuntu-help/keyboard-shortcuts-set.html.en][ubuntu]] and [[https://wiki.archlinux.org/title/Keyboard_shortcuts#Customization][archlinux]] guides are informative.\n\nOn MacOS, options include [[http://www.hammerspoon.org/][hammerspoon]], [[https://www.alfredapp.com/help/workflows/triggers/hotkey/][alfred]], [[https://apps.apple.com/us/app/thor-launcher/id1120999687?mt=12][thor]], or [[https://github.com/pqrs-org/Karabiner-Elements/issues/134#issuecomment-439658876][karabiner]]. (Untested, see [[https://github.com/tecosaur/emacs-everywhere/issues/1#issuecomment-781329521][the relevant issue]])\n\n** Example\n\n For xbindkeys, =~/.xbindkeysrc= would include the entry\n #+begin_src shell\n \"emacsclient --eval '(emacs-everywhere)'\"\n   Alt + Mod4 + e\n #+end_src\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecosaur%2Femacs-everywhere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftecosaur%2Femacs-everywhere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftecosaur%2Femacs-everywhere/lists"}