{"id":24122236,"url":"https://github.com/tlinden/config-general-mode","last_synced_at":"2025-02-28T19:24:39.617Z","repository":{"id":144612981,"uuid":"95000272","full_name":"TLINDEN/config-general-mode","owner":"TLINDEN","description":"Emacs major editing mode for Config::General config files","archived":false,"fork":false,"pushed_at":"2017-10-24T18:42:47.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T11:42:00.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/Config-General/","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/TLINDEN.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-06-21T12:13:52.000Z","updated_at":"2022-07-09T20:16:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e80093aa-47fa-4282-9860-2e86ccb3f0f4","html_url":"https://github.com/TLINDEN/config-general-mode","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/TLINDEN%2Fconfig-general-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fconfig-general-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fconfig-general-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TLINDEN%2Fconfig-general-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TLINDEN","download_url":"https://codeload.github.com/TLINDEN/config-general-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241210980,"owners_count":19927817,"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":"2025-01-11T11:39:22.117Z","updated_at":"2025-02-28T19:24:39.610Z","avatar_url":"https://github.com/TLINDEN.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# config-general-mode - Emacs major editing mode for Config::General config files.\n\n[![MELPA](http://melpa.org/packages/config-general-mode-badge.svg)](http://melpa.org/#/config-general-mode)\n\n## Screenshot\n\n![demo](https://raw.githubusercontent.com/TLINDEN/config-general-mode/master/config-general-screenshot.png)\n\n\n## Introduction\n\n[Config::General](http://search.cpan.org/dist/Config-General/) is a\nPerl   module  for   parsing  config   files  with   some  enhanced\nfeatures.  `config-general-mode` makes it easier to edit such config\nfiles with Emacs.\n\nIt is based on `conf-mode` with the following features:\n\n- good syntax highlighting for config files\n- completion support with \u003ckbd\u003eTAB\u003c/kbd\u003e (using `dabbrev`)\n- imenu support for \u003cblocks\u003e\n- electric paring mode (for quotes, parens, etc) enabled\n- automatic indenting\n- jump to include file with \u003ckbd\u003eC-return\u003c/kbd\u003e\n\n## Installation\n\nTo use, save config-general-mode.el to a directory in your load-path.\n\nAdd something like this to your config:\n\n        (require 'config-general-mode)\n        (add-to-list 'auto-mode-alist '(\"\\\\.conf$\" . config-general-mode))\n\nor load it manually, when needed:\n\n    M-x config-general-mode\n\nYou can also enable it with  a buffer-local variable by adding this as\nthe first line of a config file:\n\n    # -*-config-general-*-\n\n## Usage\n\nEdit  your config  file as  usual.  Use  \u003ckbd\u003eTAB\u003c/kbd\u003e for  completion of\nvalues and variables.  Use \u003ckbd\u003eC-c C-t\u003c/kbd\u003e  to toggle flags (like true to\nfalse). Use \u003ckbd\u003eC-c C-=\u003c/kbd\u003e on a region to automatically align on the `=`\ncharacter.  Use \u003ckbd\u003eC-c  C-/\u003c/kbd\u003e to breakup a region with  long lines into\nshorter ones  using backslash notation.  Use  \u003ckbd\u003eC-return\u003c/kbd\u003e to visit\nan included file  or (when not on  a link) insert a  new line below\nthe current one, indent and move point there.  Use \u003ckbd\u003eC-k\u003c/kbd\u003e to delete\nlines, including continuation lines or  whole blocks.  Use \u003ckbd\u003eC-c C-j\u003c/kbd\u003e\nto  jump to  a block  definition (same  as using  `imenu` with  the\nmouse).\n\n## Customize\n\nYou can customize the mode with:\n\n     M-x customize-group RET config-general-mode RET\n\nYou can also use hooks to config-general  mode as a way to modify or enhance\nits behavior.  The following hooks are available:\n\n    config-general-mode-hook\n\nFor example:\n\n        (add-hook 'config-general-mode-hook 'electric-indent-mode)\n\n## Meta\n\n\nCopyright (C) 2017, T.v.Dein \u003ctlinden AT cpan DOT org\u003e\n\nThis file is NOT part of Emacs.\n\nThis  program is  free  software; you  can  redistribute it  and/or\nmodify it  under the  terms of  the GNU  General Public  License as\npublished by the Free Software  Foundation; either version 2 of the\nLicense, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but\nWITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of\nMERCHANTABILITY or FITNESS  FOR A PARTICULAR PURPOSE.   See the GNU\nGeneral Public License for more details.\n\nYou should have  received a copy of the GNU  General Public License\nalong  with  this program;  if  not,  write  to the  Free  Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307\nUSA\n\n    - Version: 0.01\n    - Author: T.v.Dein \u003ctlinden AT cpan DOT org\u003e\n    - Keywords: config file editing\n    - URL: https://github.com/tlinden/config-general-mode\n    - License: GNU General Public License \u003e= 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlinden%2Fconfig-general-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftlinden%2Fconfig-general-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftlinden%2Fconfig-general-mode/lists"}