{"id":22505384,"url":"https://github.com/azer/emacs","last_synced_at":"2025-04-14T10:12:20.035Z","repository":{"id":6997801,"uuid":"8262612","full_name":"azer/emacs","owner":"azer","description":"Ready-to-use Emacs Setup for JavaScript and Go","archived":false,"fork":false,"pushed_at":"2018-08-23T12:44:10.000Z","size":215,"stargazers_count":228,"open_issues_count":8,"forks_count":28,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-27T23:26:02.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/azer.png","metadata":{"files":{"readme":"README.md","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":"2013-02-18T06:01:14.000Z","updated_at":"2025-01-18T20:00:28.000Z","dependencies_parsed_at":"2022-09-17T17:51:12.860Z","dependency_job_id":null,"html_url":"https://github.com/azer/emacs","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/azer%2Femacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Femacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Femacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Femacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/emacs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860190,"owners_count":21173342,"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-12-07T00:18:04.293Z","updated_at":"2025-04-14T10:12:20.013Z","avatar_url":"https://github.com/azer.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Azer's Emacs Setup  \n\nReady-to-use Emacs setup for JavaScript and Go programming.\n\n![](https://cldup.com/IqyLyhaTVM.gif)\n\n## Install\n\n```bash\n$ cd ~\n$ git clone https://github.com/azer/emacs\n$ cd emacs\n$ make\n```\n\nBackup your existing configuration:\n\n```bash\n$ mkdir ~/emacsbak \u0026\u0026 mv ~/.emacs* ~/emacsbak/.\n```\n\nAnd enable this emacs distro:\n\n```\n$ ln -s ~/emacs/init.el ~/.emacs\n```\n\nTo check for updates;\n\n```bash\n$ make update\n```\n\n## What's included?\n\n* [npm.el](http://github.com/azer/npm.el)\n* [js2-mode](https://github.com/mooz/js2-mode)\n* [go-mode](https://github.com/dominikh/go-mode.el)\n* [gocode](https://github.com/nsf/gocode)\n* [errcheck](https://github.com/kisielk/errcheck)\n* [auto-complete](https://github.com/auto-complete/auto-complete)\n* [yasnippet](https://github.com/capitaomorte/yasnippet)\n* [zencoding](https://github.com/rooney/zencoding.git)\n* [js2-refactor](https://github.com/magnars/js2-refactor.el)\n* [js-comint](http://js-comint-el.sourceforge.net/)\n* [expand-region](https://github.com/magnars/expand-region.el)\n* [smart-forward](https://github.com/magnars/smart-forward.el)\n* powerline\n* jade-mode\n* zsh\n* smex\n* undo-tree\n* markdown-mode\n\n## Usage\n\n### Arrow Buttons\n\n* **Left:** Undo\n* **Right:** Redo\n* **Up:** Jump to up\n* **Down:** Jump to down\n\n### NPM\n\n* **M-n n:** Create a new NodeJS Project\n* **M-n d:** Install and save new dependency\n* **M-n e:** Install and save new development dependency\n* **M-n s:** Search NPM\n* **M-n i:** Run `npm install` on current directory\n* **M-n p:** Publish the library on NPM\n* **M-n t:** Run the test command\n* **M-n v:** Make a new NPM version\n* **M-n b:** Release new patch version\n* **M-n m:** Release new minor version\n* **M-n a:** Release new major version\n\n### Go\n\n* **C-c C-d:** Describe the code\n* **C-c C-j:** Jump to the definition of the code\n* **C-c C-a:** Add new import\n* **C-c C-r:** Remove unused imports\n* **C-c i:** Go to imports\n* **C-c m:** Run error check\n* **C-M a:** Go to the beginning of the function\n* **C-M e:** Go to the end of the function\n* **C-c d:** Godoc at point\n\n### Git\n\n* **M-g s:** git status\n* **M-g l:** git log\n* **M-g f:** git pull \n* **M-g p:** git push\n\n### Others\n\n```bash\n* M-i       ido-goto-symbol\n* C-c C-m   Start Refactoring. More info: https://github.com/magnars/js2-refactor.el\n* m-g n     run-js\n* m-g m     js-send-region\n* m-s s     er/expand-region\n* C-j       zencoding-expand-yas\n* up        jump to up\n* down      jump to down\n* left      undo\n* right     redo\n* m-r       replace-regexp\n* m-g g     go to line\n* m-down    go to forward line\n* m-up      go to previous line\n* C-x \\     align=\n* m-c       run-last-command\n* m-g c     run-new-command\n* m-z       zsh\n```\n\n## Snippets\n\n* [JavaScript snippets](https://github.com/azer/yasnippet/blob/master/snippets/js2-mode)\n* [Go Snippets](https://github.com/azer/yasnippet/tree/master/snippets/go-mode)\n\n## Troubleshooting\n\n* js2-mode not working? Recompile js2-mode: `make install-js2mode`\n\n## Notes\n\n* If you have `magit` installed on your system, enable related config from profiles/default.el\n* If you have `emacs-w3m` installed on your system, enable related config from profiles/default.el\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Femacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Femacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Femacs/lists"}