{"id":15563032,"url":"https://github.com/rogermolas/.emacs.d","last_synced_at":"2026-05-14T12:31:35.415Z","repository":{"id":98425618,"uuid":"110221224","full_name":"rogermolas/.emacs.d","owner":"rogermolas","description":"My Emacs configuration, Development tools for Python, WIP(C/C++, Swift) .","archived":false,"fork":false,"pushed_at":"2020-05-24T20:33:11.000Z","size":3639,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T01:19:53.379Z","etag":null,"topics":["emacs","freedom","ide","python"],"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/rogermolas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-10T08:16:49.000Z","updated_at":"2020-05-24T20:33:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"18dd0b50-3223-4d19-802f-23dab93d55b6","html_url":"https://github.com/rogermolas/.emacs.d","commit_stats":{"total_commits":80,"total_committers":1,"mean_commits":80.0,"dds":0.0,"last_synced_commit":"11006a93353854ae99b505f662cf77d95f4c728b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogermolas/.emacs.d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermolas%2F.emacs.d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermolas%2F.emacs.d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermolas%2F.emacs.d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermolas%2F.emacs.d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogermolas","download_url":"https://codeload.github.com/rogermolas/.emacs.d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogermolas%2F.emacs.d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013887,"owners_count":26085325,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","freedom","ide","python"],"created_at":"2024-10-02T16:17:11.334Z","updated_at":"2025-10-13T01:19:53.576Z","avatar_url":"https://github.com/rogermolas.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Why Emacs?\n\n* Emacs is an extensible, customizable, powerful and FREE text editor.\n* Freedom!! Unlimitted customization based on what you needs/want.\n* Mail, Browser, Calendar, Games, Music etc.\n* Social media interaction\n* Supported systems including GNU/Linux, GNU/Hurd, Mac OS X, Microsoft Windows, FreeBSD, NetBSD, OpenBSD, and Solaris.\n* A community of hackers/coders that constantly writing new extensions.\n\n## Install the latest Emacs.\n* [Mac OS](http://wikemacs.org/wiki/Installing_Emacs_on_OS_X)\n* [Linux](https://www.gnu.org/software/emacs/)\n* [Windows](https://www.gnu.org/software/emacs/)\n\n## Usage\n\n``` bash\n$ git clone --recursive https://github.com/rogermolas/.emacs.d\n```\n\n## Themes\n\n#### LIGHT\n![Light Theme](https://raw.githubusercontent.com/rogermolas/emacs-config/master/theme/light.png)\n\n#### DARK\n![Light Theme](https://raw.githubusercontent.com/rogermolas/emacs-config/master/theme/dark.png)\n\n\n## Plugins\n\n#### Submodule\n* [neotree](https://github.com/jaypei/emacs-neotree)\n* [imenu-anywhere](https://github.com/vspinu/imenu-anywhere)\n* [imenu-list](https://github.com/bmag/imenu-list.git)\n* [powerline](https://github.com/jonathanchu/emacs-powerline)\n* [indent-guide](https://github.com/DarthFennec/highlight-indent-guides)\n* [iedit](https://github.com/victorhge/iedit)\n* [nav-flash](https://github.com/rolandwalker/nav-flash)\n\n#### Melpa Repo\n* [flycheck](http://www.flycheck.org/en/latest)\n* [flycheck-pos-tip](https://github.com/flycheck/flycheck-pos-tip)\n* [Yasnippet](https://github.com/joaotavora/yasnippet)\n* [yasnippet-snippets]()\n* [magit](https://github.com/magit/magit)\n\n#### Python\n* [anaconda-mode](https://github.com/proofit404/anaconda-mode)\n* [company-anaconda](https://github.com/proofit404/company-anaconda)\n* [company-quickhelp](https://github.com/expez/company-quickhelp)\n* [flycheck-pycheckers](https://github.com/msherry/flycheck-pycheckers)\n* [pyvenv](https://github.com/jorgenschaefer/pyvenv)\n\n\n#### C/C++\n\n#### Swift\n\n#### Markdown\n\n\n\n### Built-in config\n* **Code Folding**\n```lisp\n    ;; Toggle\n    (defun toggle-selective-display (column)\n      (interactive \"P\")\n      (set-selective-display\n       (or column\n           (unless selective-display\n             (1+ (current-column))))))\n\n    ;; Hide lines on command double click key\n    (defun toggle-hiding (column)\n      (interactive \"P\")\n      (if hs-minor-mode\n          (if (condition-case nil\n\t\t  (hs-toggle-hiding)\n                (error t))\n              (hs-show-all))\n        (toggle-selective-display column)))\n\n    (global-set-key [s-double-mouse-1] 'toggle-hiding)\n```\n\n* **ibuffer**\n```lisp\n    (autoload 'ibuffer \"ibuffer\" \"List buffers.\" t)\n    (setq ibuffer-default-sorting-mode 'major-mode)\n    (global-set-key (kbd \"s-3\") 'ibuffer)\n    (require 'ibuf-ext)\n    (add-to-list 'ibuffer-never-show-predicates \"^\\\\*\")\n\n    ;; Enable hightlight when Ibuffer is active\n    (defun local-hl-line-mode-off ()\n    (interactive)\n    (make-local-variable 'global-hl-line-mode)\n    (global-hl-line-mode 1))\n    (add-hook 'ibuffer-mode-hook 'local-hl-line-mode-off)\n\n    ;; Ibuffer with IDO search\n    (defun ibuffer-ido-find-file (file \u0026optional wildcards)\n    \"Like `ido-find-file', but default to the directory of the buffer at point.\"\n    (interactive\n    (let ((default-directory\n            (let ((buf (ibuffer-current-buffer)))\n                (if (buffer-live-p buf)\n                    (with-current-buffer buf\n                    default-directory)\n                default-directory))))\n        (list (ido-read-file-name \"Find file: \" default-directory) t)))\n    (find-file file wildcards))\n\n    ;; hook Find File Function\n    (define-key ibuffer-mode-map \"\\C-x\\C-f\" 'ibuffer-ido-find-file)\n```\n\n* **ido**\n```lisp\n    (setq ido-separator \"\\n \") ;; Make ido display choices vertically\n    (setq ido-enable-flex-matching t)\n    (setq ido-everywhere t)\n    (ido-mode 1)\n\n    ;; M-x with IDO interface\n    (global-set-key\n        \"\\M-x\"\n        (lambda ()\n        (interactive)\n        (call-interactively\n            (intern\n            (ido-completing-read\n            \"M-x \"\n            (all-completions \"\" obarray 'commandp))))))\n```\n\n* **linum**\n```lisp\n    (defun md-select-linum ()\n        (interactive)\n        (goto-line (line-at-click))\n            (set-mark (point))\n            (setq *linum-mdown-line*\n                (line-number-at-pos)))\n\n    (defun mu-select-linum ()\n    (interactive)\n    (when *linum-mdown-line*\n        (let (mu-line)\n        ;; (goto-line (line-at-click))\n        (setq mu-line (line-at-click))\n        (goto-line (max *linum-mdown-line* mu-line))\n            (set-mark (line-end-position))\n            (goto-line (min *linum-mdown-line* mu-line))\n            (setq *linum-mdown*\n                    nil))))\n\n    (global-set-key (kbd \"\u003cleft-margin\u003e \u003cdown-mouse-1\u003e\") 'md-select-linum)\n    (global-set-key (kbd \"\u003cleft-margin\u003e \u003cmouse-1\u003e\") 'mu-select-linum)\n    (global-set-key (kbd \"\u003cleft-margin\u003e \u003cdrag-mouse-1\u003e\") 'mu-select-linum)\n\n\n    ;; Set line number to fix size\n    (defun linum-update-window-scale-fix (win)\n    \"fix linum for scaled text\"\n    (set-window-margins win\n                (ceiling (* (if (boundp 'text-scale-mode-step)\n                        (expt text-scale-mode-step\n                            text-scale-mode-amount) 1)\n                    (if (car (window-margins))\n                        (car (window-margins)) 1)\n                    ))))\n```\n\n* **Occur**\n``` lisp\n    (defun isearch-occur ()\n      \"Invoke `occur' from within isearch.\"\n      (interactive)\n      (let ((case-fold-search isearch-case-fold-search))\n        (occur (if isearch-regexp isearch-string (regexp-quote isearch-string)))))\n    (define-key isearch-mode-map (kbd \"C-c o\") 'isearch-occur)\n    (global-set-key (kbd \"C-c o\") 'isearch-occur)\n```\n\n### Shell\n```lisp\n    (setenv \"PATH\" (concat \"/usr/local/bin:/opt/local/bin:/usr/bin:/bin\" (getenv \"PATH\")))\n```\n\n\n## Key Binding\n### WIP\n\n## Philosophy of the GNU Project\n\u003e Free software means that the software's users have freedom. (The issue is not about price.) \n\n\n## HAPPY HACKING!!!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogermolas%2F.emacs.d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogermolas%2F.emacs.d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogermolas%2F.emacs.d/lists"}