{"id":13861929,"url":"https://github.com/zonuexe/right-click-context","last_synced_at":"2025-04-15T15:21:02.846Z","repository":{"id":8476842,"uuid":"58512771","full_name":"zonuexe/right-click-context","owner":"zonuexe","description":"Emacs Right Click Context menu","archived":false,"fork":false,"pushed_at":"2022-06-10T09:09:37.000Z","size":1395,"stargazers_count":60,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T21:43:33.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.emacswiki.org/emacs/ZonuExe","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zonuexe.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-11T03:53:35.000Z","updated_at":"2023-10-28T21:34:28.000Z","dependencies_parsed_at":"2022-08-24T03:10:35.331Z","dependency_job_id":null,"html_url":"https://github.com/zonuexe/right-click-context","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fright-click-context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fright-click-context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fright-click-context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonuexe%2Fright-click-context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonuexe","download_url":"https://codeload.github.com/zonuexe/right-click-context/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094939,"owners_count":21211837,"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":[],"created_at":"2024-08-05T06:01:33.118Z","updated_at":"2025-04-15T15:21:02.808Z","avatar_url":"https://github.com/zonuexe.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"* Emacs Right Click Context menu\nA customizable context menu, call it from right-click of mouse.  You can also use the context menu from keyboard.\n#+BEGIN_HTML\n\u003ca href=\"https://melpa.org/#/right-click-context\"\u003e\u003cimg alt=\"MELPA: right-click-context\" src=\"https://melpa.org/packages/right-click-context-badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://stable.melpa.org/#/right-click-context\"\u003e\u003cimg alt=\"MELPA stable: right-click-context\" src=\"https://stable.melpa.org/packages/right-click-context-badge.svg\"\u003e\u003c/a\u003e\n#+END_HTML\n** Demo\n\n[[file:demo.gif]]\n\n** Install\n\n*** Cask\n\n#+BEGIN_SRC emacs-lisp\n(depends-on \"right-click-context\" :git \"git@github.com:zonuexe/right-click-context.git\")\n#+END_SRC\n\n** Setup\n\n*** Easy way (use minor-mode)\n\n#+BEGIN_SRC emacs-lisp\n(right-click-context-mode 1)\n\n;; If want to use context menu by keyboard\n;(define-key right-click-context-mode-map (kbd \"C-c :\") 'right-click-context-menu)\n#+END_SRC\n\n*** Use keymap\n\nIf you do not need the minor-mode, you can add a command to global keymap.\n\n#+BEGIN_SRC emacs-lisp\n(global-set-key (kbd \"\u003cmouse-3\u003e\") 'right-click-context-menu)\n\n(bind-key \"C-c \u003cmouse-3\u003e\" 'right-click-context-menu)\n(bind-key \"C-c :\" 'right-click-context-menu)\n#+END_SRC\n\n*** Hide lighter\n\nYou will feel mode line is that it is complicated.\n\n#+BEGIN_SRC emacs-lisp\n;; Use emoji\n(setq right-click-context-mode-lighter \"🐭\")\n\n;; hidden\n(setq right-click-context-mode-lighter \"\")\n#+END_SRC\n\n** Customize Menu\n*** DSL\n#+BEGIN_SRC emacs-lisp\n(require 'datetime-format nil t)\n(let ((right-click-context-local-menu-tree\n       (append right-click-context-global-menu-tree\n               '((\"Insert\"\n                  (\"FooBar\" :call (insert \"FooBar\"))\n                  (\"Current Time\" :call (insert (datetime-format 'atom)) :if (fboundp 'datetime-format)))))))\n  (right-click-context-menu))\n#+END_SRC\n\n* Region Convert (=region-convert.el=)\nThat repository has moved to [[https://github.com/zonuexe/region-convert.el][zonuexe/region-convert.el]].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonuexe%2Fright-click-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonuexe%2Fright-click-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonuexe%2Fright-click-context/lists"}